ulysses-you commented on a change in pull request #30481:
URL: https://github.com/apache/spark/pull/30481#discussion_r539254239
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -937,6 +937,14 @@ object SQLConf {
.timeConf(TimeUnit.SECONDS)
.createWithDefault(0L)
+ val THRIFTSERVER_FORCE_CANCEL =
+ buildConf("spark.sql.thriftServer.interruptOnCancel")
+ .doc("When true, all running tasks will be interrupted if one cancels a
query. " +
+ "When false, all running tasks will be remained until finished.")
+ .version("3.2.0")
+ .booleanConf
+ .createWithDefault(false)
Review comment:
The reason is same with `Why the default behavior of sc.cancelJob does
not interrupt task`, related JIRA
[SPARK-17064](https://issues.apache.org/jira/browse/SPARK-17064). And also I
think the default value set to false can keep the same behavior with early
version.
----------------------------------------------------------------
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]