[jira] [Created] (FLINK-11680) make query plan easier to read

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-11680) make query plan easier to read

Shang Yuanchun (Jira)
godfrey he created FLINK-11680:
----------------------------------

             Summary: make query plan easier to read
                 Key: FLINK-11680
                 URL: https://issues.apache.org/jira/browse/FLINK-11680
             Project: Flink
          Issue Type: New Feature
          Components: Table API & SQL
            Reporter: godfrey he
            Assignee: godfrey he
         Attachments: image-2019-02-20-20-04-08-844.png, image-2019-02-20-20-05-06-506.png

 The query plan generated by RelOptUtil#toString is hard to read, especially the query is very complex(multiple joins or unions).
There is a query plan of tpcds q25.sql generated by RelOptUtil#toString:
 !image-2019-02-20-20-05-06-506.png!

We can improve the utility method to make the query plan more readable, like:
 !image-2019-02-20-20-10-58-187.png!





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)