You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Canbin Zheng (Jira)" <ji...@apache.org> on 2019/09/17 12:19:00 UTC

[jira] [Created] (FLINK-14098) Support multiple sql statements splitting by semicolon for TableEnvironment

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)