cloud-fan commented on code in PR #52157: URL: https://github.com/apache/spark/pull/52157#discussion_r2307000562
########## sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala: ########## @@ -177,13 +189,10 @@ object SQLExecution extends Logging { if (queryExecution.shuffleCleanupMode != DoNotCleanup && isExecutedPlanAvailable) { val shuffleIds = queryExecution.executedPlan match { - case ae: AdaptiveSparkPlanExec => - ae.context.shuffleIds.asScala.keys - case nonAdaptivePlan => - nonAdaptivePlan.collect { - case exec: ShuffleExchangeLike => - exec.shuffleId - } + case command: V2CommandExec => Review Comment: how about other commands? -- 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