morrySnow commented on code in PR #11842:
URL: https://github.com/apache/doris/pull/11842#discussion_r957567277


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -367,47 +352,32 @@ public PlanFragment 
visitPhysicalHashJoin(PhysicalHashJoin<Plan, Plan> hashJoin,
         // NOTICE: We must visit from right to left, to ensure the last 
fragment is root fragment
         PlanFragment rightFragment = hashJoin.child(1).accept(this, context);
         PlanFragment leftFragment = hashJoin.child(0).accept(this, context);
+        PlanNode leftFragmentPlanRoot = leftFragment.getPlanRoot();
+        PlanNode rightFragmentPlanRoot = rightFragment.getPlanRoot();
+        JoinType joinType = hashJoin.getJoinType();
 
         if (JoinUtils.shouldNestedLoopJoin(hashJoin)) {
             throw new RuntimeException("Physical hash join could not execute 
without equal join condition.");
         }
 
-        PlanNode leftPlanRoot = leftFragment.getPlanRoot();
-        PlanNode rightPlanRoot = rightFragment.getPlanRoot();
-        JoinType joinType = hashJoin.getJoinType();
-
-        List<Expr> execEqConjuncts = hashJoin.getHashJoinConjuncts().stream()
+        List<Expr> execEqConjunctList = 
hashJoin.getHashJoinConjuncts().stream()
                 .map(EqualTo.class::cast)
                 .map(e -> swapEqualToForChildrenOrder(e, 
hashJoin.left().getOutput()))
                 .map(e -> ExpressionTranslator.translate(e, context))
                 .collect(Collectors.toList());
-

Review Comment:
   this file rebase is not correct, u remove the newest code



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to