maryannxue opened a new pull request #25764: [SPARK-29060][SQL] Add tree 
traversal helper for adaptive spark plans
   ### What changes were proposed in this pull request?
   This PR adds a utility class `AdaptiveSparkPlanHelper` which provides 
methods related to tree traversal of an `AdaptiveSparkPlanExec` plan. Unlike 
their counterparts in `TreeNode` or
   `QueryPlan`, these methods traverse down leaf nodes of adaptive plans, i.e., 
`AdaptiveSparkPlanExec` and `QueryStageExec`.
   ### Why are the changes needed?
   This utility class can greatly simplify tree traversal code for adaptive 
spark plans.
   ### Does this PR introduce any user-facing change?
   ### How was this patch tested?
   Refined `AdaptiveQueryExecSuite` with the help of the new utility methods.

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.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to