maropu commented on a change in pull request #32430:
URL: https://github.com/apache/spark/pull/32430#discussion_r625724495



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala
##########
@@ -197,7 +198,14 @@ class QueryExecution(
         queryExecution.toString(maxFields, append)
       case CodegenMode =>
         try {
-          org.apache.spark.sql.execution.debug.writeCodegen(append, 
queryExecution.executedPlan)
+          queryExecution.executedPlan match {

Review comment:
       How about handling the AQE node in the `writeCodegen` side instead? That 
way, `debugCodegen` can support it, too?




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