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

    https://github.com/apache/spark/pull/21560#discussion_r198050994
  
    --- 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 --
    
    @HeartSaVioR No this method no intended for being called in normal 
circumstance. And less of a reason to call this in an internally generated RDD. 


---

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

Reply via email to