feiniaofeiafei commented on code in PR #49096:
URL: https://github.com/apache/doris/pull/49096#discussion_r2196906248


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/PushDownAliasThroughJoin.java:
##########
@@ -97,9 +98,13 @@ public Rule build() {
                 List<Expression> newHash = 
replaceJoinConjuncts(join.getHashJoinConjuncts(), replaceMap);
                 List<Expression> newOther = 
replaceJoinConjuncts(join.getOtherJoinConjuncts(), replaceMap);
                 List<Expression> newMark = 
replaceJoinConjuncts(join.getMarkJoinConjuncts(), replaceMap);
-
+                DistributeHint hint = join.getDistributeHint();

Review Comment:
   No, it cannot be immutable because hints are stored in the statementContext. 
If it were immutable, the hint state couldn't be tracked when executing the 
EXPLAIN command.



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