Details
-
New Feature
-
Status: In Progress
-
Not a Priority
-
Resolution: Unresolved
-
None
-
None
Description
Currently TableEnvironment.sqlUpdate supports single sql statement parsing by invoking SqlParser.parseStmt.
Actually, after the work of 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.
Attachments
Issue Links
- duplicates
-
FLINK-15625 flink sql multiple statements syntatic validation supports
- Closed
- is related to
-
FLINK-12845 Execute multiple statements in command line or sql script file
- Closed
-
FLINK-16367 Introduce createStatementSet method in TableEnvironment
- Closed
- links to