allisonwang-db commented on a change in pull request #29137:
URL: https://github.com/apache/spark/pull/29137#discussion_r459784186
##########
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:
I tried wrapping the plan with a dummy node but it won't work with
having the header printed on the same line as the top node without changing the
`generateTreeString` method itself. The suggestion makes sense, will update the
code.
----------------------------------------------------------------
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]