rubenada commented on a change in pull request #2037: URL: https://github.com/apache/calcite/pull/2037#discussion_r447452267
########## File path: linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java ########## @@ -3878,6 +3879,8 @@ public void remove() { private final Comparator<TKey> comparator; private boolean done; private Enumerator<TResult> results; + // only used for ANTI join: if right input is over, all remaining elements from left are results + private boolean remainingLeft; Review comment: Correct, it means the right input is over, but the left is not; hence all remaining tuples from the left relation are results for the anti-join ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org