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

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

    [ https://issues.apache.org/jira/browse/FLINK-14098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935715#comment-16935715 ] 

Jark Wu commented on FLINK-14098:
---------------------------------

Yes. You are right. [~felixzheng]

> 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)