You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/01/18 10:38:19 UTC
[GitHub] [spark] cloud-fan edited a comment on pull request #31227: [SPARK-34064][SQL] Cancel the running broadcast sub-jobs when SQL statement is cancelled
cloud-fan edited a comment on pull request #31227:
URL: https://github.com/apache/spark/pull/31227#issuecomment-762156719
This change is a bit too low-level and may have a big impact. Can we do something in `SQLExecution.withNewExecutionId` like
```
val originalJobGroupId = ...
try {
val actualGroupId = ... // read using the special key
sc.setJonGroupId(actualGroupId)
...
} finally {
// set back to the original id
}
```
We also need to update the broadcast exchange to read the special local property.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org