Cheng Hao created SPARK-4713:
--------------------------------

             Summary: SchemaRDD.unpersist() should not raise exception if it is 
not cached.
                 Key: SPARK-4713
                 URL: https://issues.apache.org/jira/browse/SPARK-4713
             Project: Spark
          Issue Type: Bug
          Components: SQL
            Reporter: Cheng Hao
            Priority: Minor


Unpersist a uncached RDD, will not raise exception, for example:
{panel}
val data = Array(1, 2, 3, 4, 5)
val distData = sc.parallelize(data)
distData.unpersist(true)
{panel}

But the SchemaRDD will throws exception if the SchemaRDD is not cached. Since 
SchemaRDD is the subclasses of the RDD, we should follow the same behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to