cloud-fan commented on code in PR #52039:
URL: https://github.com/apache/spark/pull/52039#discussion_r2284746769
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala:
##########
@@ -195,6 +195,12 @@ object SQLExecution extends Logging {
}
}
}
+
+ if (executionId == rootExecutionId) {
Review Comment:
let's leave some code comments here to explain it.
It will be better if we can cancel uesless jobs earlier when nested query
executions are completed, but we can do it in a followup.
--
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]