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

FlinkStatement#executeQuery resource leaks when the input sql is not query

    XMLWordPrintableJSON

Details

    Description

      The current implementation just throw the exception if the input sql is not query. No one is responsible to close the StatementResult.

       

      BTW, the current implementation just submit the sql to the gateway, which means the sql is executed. I just wonder do we need to expose this features to the users?

      Attachments

        Issue Links

          Activity

            People

              fangyong FangYong
              fsk119 Shengkai Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: