Skip to main content

PLAN REPLAYER PLAY

Description

PLAN REPLAYER PLAY is a tool used by Doris developers to analyze optimizer issues. Based on diagnostic files generated by PLAN REPLAYER DUMP, it can load metadata and statistical information in the corresponding version of fe for developers to reproduce and debug issues.

Syntax

PLAN REPLAYER PLAY <absolute-directory-of-dumpfile>

Required Parameters

<absolute-directory-of-dumpfile>

  • A string specifying the absolute path of the dump file.
  • The identifier must be enclosed in double quotes and is the absolute path to the corresponding file.

Example

When we have a dumpfile: /home/wangwu/dumpfile.json, we can use the following SQL to reproduce the scenario:

PLAN REPLAYER PLAY "/home/wangwu/dumpfile.json"