[
https://issues.apache.org/jira/browse/FLINK-31952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733855#comment-17733855
]
Jane Chan commented on FLINK-31952:
-----------------------------------
After revisiting `StreamPlanner#explainPlan`, I think the necessity of
implementing "explain" syntax is not significant because the serialized
execGraph cannot be rolled back to relNode. Therefore, the supported
ExplainDetail types are limited to JSON_EXECUTION_PLAN only. As it is also in
JSON format, its readability is not so good, and users may have confused
regarding the relationship between JSON_EXECUTION_PLAN and COMPILED_PLAN.
> Support 'EXPLAIN' statement for CompiledPlan
> --------------------------------------------
>
> Key: FLINK-31952
> URL: https://issues.apache.org/jira/browse/FLINK-31952
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Affects Versions: 1.18.0
> Reporter: Jane Chan
> Assignee: Shuai Xu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.18.0
>
>
> Support the explain SQL syntax towards serialized CompiledPlan
> {code:sql}
> EXPLAIN [ <explain_details> | PLAN FOR] <compiled_plan_json>
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)