Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Allow users to specify the ExplainDetails in statement.
EXPLAIN [ExplainDetail[, ExplainDetail]*] <statement> ExplainDetail: { ESTIMATED_COST, CHANGELOG_MODE, JSON_EXECUTION_PLAN }
Print the plan for the statement with specified ExplainDetails.
ESTIMATED_COST
generates cost information on physical node estimated by optimizer, e.g. TableSourceScan(..., cumulative cost =
)
CHANGELOG_MODE
generates changelog mode for every physical rel node. e.g. GroupAggregate(..., changelogMode=[I,UA,D])
JSON_EXECUTION_PLAN
generates the execution plan in json format of the program.
Flink SQL> EXPLAIN ESTIMATED_COST, CHANGELOG SELECT * FROM MyTable; ...
Attachments
Issue Links
- is duplicated by
-
FLINK-20562 Support ExplainDetails for EXPLAIN sytnax
- Closed