[
https://issues.apache.org/jira/browse/STORM-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15482854#comment-15482854
]
Jungtaek Lim commented on STORM-1444:
-------------------------------------
Yes I lost my draft comment which describes how Calcite supports explain.
https://calcite.apache.org/apidocs/org/apache/calcite/plan/RelOptUtil.html#toString-org.apache.calcite.rel.RelNode-org.apache.calcite.sql.SqlExplainLevel-
This returns the plan based on Planner. For now Storm SQL completely relies on
Calcite (not having Storm specific algebra model) so we could just show this.
I already added this to pull request of JOIN feature for unit tests. So it's
closer to how we expose this functionality.
> Support EXPLAIN statement in StormSQL
> -------------------------------------
>
> Key: STORM-1444
> URL: https://issues.apache.org/jira/browse/STORM-1444
> Project: Apache Storm
> Issue Type: New Feature
> Components: storm-sql
> Reporter: Haohui Mai
> Assignee: Jungtaek Lim
>
> It is useful to support the `EXPLAIN` statement in StormSQL to allow
> debugging and customizing the topology generated by StormSQL.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)