You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ulrich Kramer (Jira)" <ji...@apache.org> on 2024/02/07 12:55:00 UTC
[jira] [Created] (CALCITE-6251) innerEnumerator in EnumerableDefaults::correlateBatchJoin is not closed
Ulrich Kramer created CALCITE-6251:
--------------------------------------
Summary: 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
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)