cloud-fan commented on code in PR #53681:
URL: https://github.com/apache/spark/pull/53681#discussion_r2662686126


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/QueryPlan.scala:
##########
@@ -621,12 +621,14 @@ abstract class QueryPlan[PlanType <: QueryPlan[PlanType]]
 
   /**
    * A variant of [[foreach]] which considers plan nodes inside subqueries as 
well.
+   * The traverse order is subqueries first and then children.

Review Comment:
   is it true? `f(plan)` is invoked on itself first, then subqueries, then its 
children.



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