[ https://issues.apache.org/jira/browse/FLINK-14098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931685#comment-16931685 ]
Xuefu Zhang edited comment on FLINK-14098 at 9/17/19 5:34 PM: -------------------------------------------------------------- Yeah, this appears indeed a dupe of or at least related to FLINK-12845, but thanks for pointing out a plausible solution. was (Author: xuefuz): Yeah, this is indeed a dupe of FLINK-12845, but thanks for pointing out a plausible solution. > 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 > 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.2#803003)