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/23 09:37:00 UTC

[jira] [Updated] (FLINK-14098) Support multiple statements for TableEnvironment

     [ https://issues.apache.org/jira/browse/FLINK-14098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Canbin Zheng updated FLINK-14098:
---------------------------------
    Summary: Support multiple statements for TableEnvironment  (was: Support multiple statements splitting for TableEnvironment)

> Support multiple statements for TableEnvironment
> ------------------------------------------------
>
>                 Key: FLINK-14098
>                 URL: https://issues.apache.org/jira/browse/FLINK-14098
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table SQL / API
>            Reporter: Canbin Zheng
>            Priority: Major
>
> 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.4#803005)