Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14098

Support multiple statements for TableEnvironment

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              Unassigned Unassigned
              felixzheng Canbin Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m