walterddr commented on code in PR #9448:
URL: https://github.com/apache/pinot/pull/9448#discussion_r982964155


##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/operator/HashJoinOperator.java:
##########
@@ -132,7 +139,11 @@ private TransferableBlock 
buildJoinedDataBlock(TransferableBlock leftBlock)
         List<Object[]> hashCollection = _broadcastHashTable.getOrDefault(
             _leftKeySelector.computeHash(leftRow), Collections.emptyList());
         for (Object[] rightRow : hashCollection) {
-          rows.add(joinRow(leftRow, rightRow));
+          Object[] resultRow = joinRow(leftRow, rightRow);
+          if (_joinClauseEvaluators.isEmpty() || 
_joinClauseEvaluators.stream().allMatch(

Review Comment:
   calcite automatically splits into join keys and non-eq join conditions



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to