JkSelf commented on code in PR #52039:
URL: https://github.com/apache/spark/pull/52039#discussion_r2284133597


##########
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:
   > nested query execution can also hit this code branch, or did I miss 
something?
   
   Yes. We need skip this cancel operator for nested query execution. Already 
add the check only cancel in root execution. Please help to review again. 
Thanks.



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