PLAN REPLAYER PLAY
Note:
This is a developer replay operation requiring access to an engine-local dump file. Warehouse users do not access managed FE files. Use PLAN REPLAYER DUMP and share diagnostics through an approved support channel. Dump files can contain schema, statistics, and SQL text.
Description
PLAN REPLAYER PLAY is a tool used by engine 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";