[jira] [Commented] (CALCITE-5099) ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection leak

2022-05-20 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540245#comment-17540245 ] Julian Hyde commented on CALCITE-5099: -- It looks as it {{LimitIterator}} is the cu

[jira] [Commented] (CALCITE-5099) ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection leak

2022-05-18 Thread itxiangkui (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538759#comment-17538759 ] itxiangkui commented on CALCITE-5099: - Hi, [~julianhyde]    > ResultSetEnumerable.

[jira] [Commented] (CALCITE-5099) ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection leak

2022-05-18 Thread itxiangkui (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538758#comment-17538758 ] itxiangkui commented on CALCITE-5099: - I think I have sorted out the conditions and

[jira] [Commented] (CALCITE-5099) ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection leak

2022-04-26 Thread itxiangkui (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528509#comment-17528509 ] itxiangkui commented on CALCITE-5099: - I have defined an AvaticalServer and it look

[jira] [Commented] (CALCITE-5099) ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection leak

2022-04-25 Thread itxiangkui (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527942#comment-17527942 ] itxiangkui commented on CALCITE-5099: - I did an experiment: 1. Go to the sqlline te

[jira] [Commented] (CALCITE-5099) ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection leak

2022-04-19 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524749#comment-17524749 ] Julian Hyde commented on CALCITE-5099: -- The code looks OK to me. As long as you cl

[jira] [Commented] (CALCITE-5099) ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection leak

2022-04-19 Thread itxiangkui (Jira)
[ 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 t

[jira] [Commented] (CALCITE-5099) ResultSetEnumerable.enumeratorBasedOnStatement cause the backend connection leak

2022-04-18 Thread itxiangkui (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524036#comment-17524036 ] itxiangkui commented on CALCITE-5099: - We have extended JdbcSchema and JdbcCatalogS