LantaoJin edited a comment on pull request #31119:
URL: https://github.com/apache/spark/pull/31119#issuecomment-759218273


   > BTW why doesn't STS use SQL execution ID to cancel the jobs for a SQL 
query? 
   
   A `statementId` bound in `SparkOperation` can be accessed in two threads 
(HiveServer2-Handler-Pool and HiveServer2-Background-Pool). STS uses it as a 
job group id (thread local). But `executionId` always be treated as a thread 
local instance, though we could use it do the same thing. 


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to