[ 
https://issues.apache.org/jira/browse/FLINK-32616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shengkai Fang closed FLINK-32616.
---------------------------------
    Resolution: Fixed

> 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
>            Assignee: FangYong
>            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)

Reply via email to