xzj7019 commented on code in PR #30379: URL: https://github.com/apache/doris/pull/30379#discussion_r1494399896
########## fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/join/InnerJoinLAsscom.java: ########## @@ -96,6 +96,10 @@ public Rule build() { */ public static boolean checkReorder(LogicalJoin<? extends Plan, GroupPlan> topJoin, LogicalJoin<GroupPlan, GroupPlan> bottomJoin, boolean leftZigZag) { + if (topJoin.getJoinReorderContext().isLeadingJoin() Review Comment: can we control this kind of rule outside and avoid touch each related rule? -- 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