cloud-fan commented on code in PR #50852: URL: https://github.com/apache/spark/pull/50852#discussion_r2099865446
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/rules/RuleExecutor.scala: ########## @@ -62,6 +62,9 @@ class PlanChangeLogger[TreeType <: TreeNode[_]] extends Logging { log""" |=== Applying Rule ${MDC(RULE_NAME, ruleName)} === |${MDC(QUERY_PLAN, sideBySide(oldPlan.treeString, newPlan.treeString).mkString("\n"))} + | + |Output Information: + |${MDC(QUERY_PLAN, newPlan.treeStringWithOutputColumns)} Review Comment: `treeString` is also a public method, can we just call it with `printOutputColumns = true`? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org