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

Julian Hyde resolved CALCITE-4552.
----------------------------------
    Fix Version/s: 1.27.0
       Resolution: Fixed

Fixed in 
[1721825e|https://github.com/apache/calcite/commit/1721825eabfc4a0f82b33711b159359ee3c4341a].

> Interpreter should close resources held by its Nodes on close
> -------------------------------------------------------------
>
>                 Key: CALCITE-4552
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4552
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Priority: Major
>             Fix For: 1.27.0
>
>
> When closing Interpreter, close resources held by its Nodes.
> Currently, if a node is based on a JdbcTableScan, and the Interpreter's 
> results have not been read to completion, the statement will still be open, 
> and the JDBC connection will not be returned to the pool. This can cause a 
> hang, waiting for a connection, if you allocate and deallocate lots of 
> Interpreter instances.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to