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

Support multiple statements for TableEnvironment

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            felixzheng Canbin Zheng

            Dates

              Created:
              Updated:

              Time Tracking

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

              Slack

                Issue deployment