amaliujia commented on code in PR #41005:
URL: https://github.com/apache/spark/pull/41005#discussion_r1181971691


##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -525,6 +525,19 @@ class SparkSession private[sql] (
     planIdGenerator.set(0)
   }
 
+  /**
+   * Interrupt all operations of this session currently running on the 
connected server.
+   *
+   * TODO/WIP: Currently it will interrupt the Spark Jobs running on the 
server, triggered from
+   * ExecutePlan requests. If an operation is not running a Spark Job, it 
becomes an noop and the

Review Comment:
   Is there an example that an operation does not run a spark job now but later 
run more jobs, thus the interrupt all  API does not work with it?



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

Reply via email to