Jackie-Jiang commented on code in PR #10886:
URL: https://github.com/apache/pinot/pull/10886#discussion_r1230252906
##########
pinot-query-planner/src/main/java/org/apache/pinot/query/planner/logical/RelToPlanNodeConverter.java:
##########
@@ -178,12 +180,15 @@ private static PlanNode convertLogicalJoin(LogicalJoin
node, int currentStageId)
// Parse out all equality JOIN conditions
JoinInfo joinInfo = node.analyzeCondition();
- FieldSelectionKeySelector leftFieldSelectionKeySelector = new
FieldSelectionKeySelector(joinInfo.leftKeys);
- FieldSelectionKeySelector rightFieldSelectionKeySelector = new
FieldSelectionKeySelector(joinInfo.rightKeys);
+ JoinNode.JoinKeys joinKeys = new JoinNode.JoinKeys(new
FieldSelectionKeySelector(joinInfo.leftKeys),
+ new FieldSelectionKeySelector(joinInfo.rightKeys));
+ List<RexExpression> joinClause =
+
joinInfo.nonEquiConditions.stream().map(RexExpression::toRexExpression).collect(Collectors.toList());
+ boolean isColocatedJoin =
Review Comment:
To support this, we need to enhance the `WorkerManager` instead of handling
it here. Currently it requires both tables to have the same `numPartitions`.
Added a TODO
--
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]