[
https://issues.apache.org/jira/browse/FLINK-32616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17745349#comment-17745349
]
Shengkai Fang commented on FLINK-32616:
---------------------------------------
Merged into master: b9c5dc3d73161622908f90ac876f4ec002b1186e
> 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: Bug
> Components: Table SQL / JDBC
> Affects Versions: 1.18.0
> Reporter: Shengkai Fang
> Priority: Major
> Labels: pull-request-available
> 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)