zhangrenhua opened a new pull request #32222:
URL: https://github.com/apache/spark/pull/32222


   
   See [SPARK-35126](https://issues.apache.org/jira/browse/SPARK-35126)
   By adding the start job interrupt listener thread before sql executes the 
query, if the job is interrupted and stmt.executeQuery() is not completed, 
execute stmt.cancel() to tell the database to terminate the SQL process just 
executed. If the sql execution is complete, the listening thread will stop 
working.


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