[
https://issues.apache.org/jira/browse/CALCITE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524219#comment-17524219
]
itxiangkui commented on CALCITE-5099:
-------------------------------------
I guess setting connection = null; here is to close the connection when
iterating over the data externally, but it seems that the framework does not
close the connection.
Also I saw a documentation stating, is it relevant here?
[https://calcite.apache.org/avatica/docs/index.html]
Not implementedPermalink
- ODBC
- RPCs
-- CloseStatement
-- CloseConnection
> ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection
> leak
> ---------------------------------------------------------------------------------
>
> Key: CALCITE-5099
> URL: https://issues.apache.org/jira/browse/CALCITE-5099
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.30.0
> Reporter: itxiangkui
> Priority: Critical
> Labels: connection, connection-pooling, leak
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)