[jira] [Created] (FLINK-14698) Refactor the SQL CLI parser to reuse flink-sql-parser

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

[jira] [Created] (FLINK-14698) Refactor the SQL CLI parser to reuse flink-sql-parser

Shang Yuanchun (Jira)
Danny Chen created FLINK-14698:
----------------------------------

             Summary: Refactor the SQL CLI parser to reuse flink-sql-parser
                 Key: FLINK-14698
                 URL: https://issues.apache.org/jira/browse/FLINK-14698
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
    Affects Versions: 1.9.1
            Reporter: Danny Chen
             Fix For: 1.10.0


We should reuse the SQL CLI for commands parsing, especially for those statements that are sql queries. There are at lease 2 benefits i can see:
# To reduce the bugs because the parsing work by regex expression now is very easy to encounter that for complex queries
# To reduce the redundant parse work, we only need to maintain the flink-sql-parser



--
This message was sent by Atlassian Jira
(v8.3.4#803005)