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

    https://github.com/apache/spark/pull/21560#discussion_r197004935
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/continuous/ContinuousDataSourceRDD.scala
 ---
    @@ -98,6 +98,10 @@ class ContinuousDataSourceRDD(
       override def getPreferredLocations(split: Partition): Seq[String] = {
         
split.asInstanceOf[ContinuousDataSourceRDDPartition].inputPartition.preferredLocations()
       }
    +
    +  override def clearDependencies(): Unit = {
    +    throw new IllegalStateException("Continuous RDDs cannot be 
checkpointed")
    --- End diff --
    
    I'm wondering the method can be called in normal situation: when continuous 
query is terminated.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to