maryannxue commented on a change in pull request #29137:
URL: https://github.com/apache/spark/pull/29137#discussion_r457001041
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AdaptiveSparkPlanExec.scala
##########
@@ -288,25 +291,59 @@ case class AdaptiveSparkPlanExec(
addSuffix,
maxFields,
printNodeId)
- currentPhysicalPlan.generateTreeString(
+ plans.zipWithIndex.foreach { case ((name, plan), i) =>
Review comment:
Would it make sense to wrap each plan with a dummy `UnaryExecNode` and
call the existing `generateTreeString` method on these dummy operators instead
of adding this new `generateTreeStringWithName` method?
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]