Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/19196#discussion_r138760053
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala
---
@@ -800,6 +800,7 @@ class StreamExecution(
if (streamDeathCause != null) {
throw streamDeathCause
}
+ if (!isActive) return
--- End diff --
+1 good catch
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]