924060929 commented on code in PR #10415:
URL: https://github.com/apache/doris/pull/10415#discussion_r910575894


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/TreeNode.java:
##########
@@ -46,4 +48,27 @@
 
     NODE_TYPE withChildren(List<NODE_TYPE> children);
 
+    default void foreach(Consumer<TreeNode<NODE_TYPE>> func) {

Review Comment:
   I think we have a promise: if the traverse function no order info, it must 
be top-down implicitly for shorter names
   
   



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