cloud-fan commented on code in PR #52039:
URL: https://github.com/apache/spark/pull/52039#discussion_r2284080835


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala:
##########
@@ -195,6 +195,10 @@ object SQLExecution extends Logging {
                   }
                 }
               }
+
+              sparkSession.sparkContext.cancelJobsWithTag(
+                executionIdJobTag(sparkSession, executionId))

Review Comment:
   I think the way we clean up shuffles looks better. AQE will track all the 
query stages executed, so that we can clean up shuffle as soon as a query 
(whether nested or not) is completed. But here we use job group, which is only 
set for the root execution.



-- 
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: [email protected]

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