Shengkai Fang created FLINK-32616:
-------------------------------------

             Summary: FlinkStatement#executeQuery resource leaks when the input 
sql is not query
                 Key: FLINK-32616
                 URL: https://issues.apache.org/jira/browse/FLINK-32616
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / JDBC
    Affects Versions: 1.18.0
            Reporter: Shengkai Fang
             Fix For: 1.18.0


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?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to