Github user tdas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20622#discussion_r170088438
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/continuous/ContinuousExecution.scala
 ---
    @@ -266,6 +265,10 @@ class ContinuousExecution(
             SQLExecution.withNewExecutionId(
               sparkSessionForQuery, lastExecution)(lastExecution.toRdd)
           }
    +    } catch {
    +      case t: Throwable
    +          if StreamExecution.isInterruptionException(t) && state.get() == 
RECONFIGURING =>
    +        // interrupted by reconfiguration - swallow exception so we can 
restart the query
         } finally {
    --- End diff --
    
    Add cancel job here.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to