Canbin Zheng created FLINK-14098:
------------------------------------

             Summary: Support multiple sql statements splitting by semicolon 
for TableEnvironment
                 Key: FLINK-14098
                 URL: https://issues.apache.org/jira/browse/FLINK-14098
             Project: Flink
          Issue Type: New Feature
            Reporter: Canbin Zheng


Currently TableEnvironment.sqlUpdate supports single sql statement parsing by 
invoking SqlParser.parseStmt.

Actually, after the work of 
[CALCITE-2453|https://issues.apache.org/jira/browse/CALCITE-2453], Calcite’s 
SqlParser is able to parse multiple sql statements split by semicolon, IMO, 
it’s useful to refactor TableEnvironment.sqlUpdate to support multiple sql 
statements too, by invoking SqlParser.parseStmtList instead.

I am not sure whether this is a duplicated ticket, if it is, let me know, 
thanks.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to