[ https://issues.apache.org/jira/browse/CALCITE-6251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruben Q L resolved CALCITE-6251. -------------------------------- Fix Version/s: 1.37.0 Resolution: Fixed Fixed via [{{abf462a}}|https://github.com/apache/calcite/commit/abf462a7ddab11a44610827b0cd69510c099d9b6] Thanks [~kramerul] for the patch! > innerEnumerator in EnumerableDefaults::correlateBatchJoin is not closed > ----------------------------------------------------------------------- > > Key: CALCITE-6251 > URL: https://issues.apache.org/jira/browse/CALCITE-6251 > Project: Calcite > Issue Type: Bug > Affects Versions: 1.36.0 > Reporter: Ulrich Kramer > Priority: Major > Labels: pull-request-available > Fix For: 1.37.0 > > > The > [innerEnumerator|https://github.com/apache/calcite/blob/f7069cc5245c22f816c565669f52b4f30b046f4d/linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java#L1681] > is only closed at the end. But if there are multiple loops, [innerEnumerator > is just assigned to a different value without closing > it|https://github.com/apache/calcite/blob/f7069cc5245c22f816c565669f52b4f30b046f4d/linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java#L1720]. > It should look like > [here|https://github.com/apache/calcite/blob/f7069cc5245c22f816c565669f52b4f30b046f4d/linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java#L1547-L1550]. -- This message was sent by Atlassian Jira (v8.20.10#820010)