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


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/CollectJoinConstraint.java:
##########
@@ -162,6 +162,9 @@ private void collectJoinConstraintList(LeadingHint leading, 
Long leftHand, Long
                 }
             }
         }
+        if (minLeftHand == 0L) {
+            minLeftHand = leftHand;

Review Comment:
   add test case



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