rubenada commented on a change in pull request #1833: [CALCITE-3828] MergeJoin
throws NPE in case of null keys
URL: https://github.com/apache/calcite/pull/1833#discussion_r384975567
##########
File path:
linq4j/src/main/java/org/apache/calcite/linq4j/EnumerableDefaults.java
##########
@@ -3829,6 +3829,12 @@ private boolean advance() {
TInner right = rightEnumerator.current();
TKey rightKey = innerKeySelector.apply(right);
for (;;) {
+ // mergeJoin assumes inputs sorted in ascending order with nulls last,
Review comment:
@danny0405 , comment has been added in the javadoc of
EnumerableDefaults#mergeJoin and EnumerableDefaults#MergeJoinEnumerator
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services