cloud-fan commented on a change in pull request #32430:
URL: https://github.com/apache/spark/pull/32430#discussion_r627036460



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/debug/package.scala
##########
@@ -73,14 +74,14 @@ package object debug {
    * @param plan the query plan for codegen
    * @return single String containing all WholeStageCodegen subtrees and 
corresponding codegen
    */
-  def codegenString(plan: SparkPlan): String = {
+  def codegenString(plan: SparkPlan, sparkSession: SparkSession): String = {

Review comment:
       shall we simply strip these AQE wrapper nodes at the beginning using 
`AdaptiveSparkPlanHelper.stripAQEPlan`?




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

Reply via email to