You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Hao (JIRA)" <ji...@apache.org> on 2014/12/03 06:13:13 UTC
[jira] [Created] (SPARK-4713) SchemaRDD.unpersist() should not
raise exception if it is not cached.
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org