aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorzsxwing <zsxwing@gmail.com>2015-06-17 22:07:16 -0700
committerDavies Liu <davies@databricks.com>2015-06-17 22:07:16 -0700
commit4817ccdf50ef6ee24192800f9924d9ef3bb74e12 (patch)
tree474a0994cd0d2e735660da51c07932dceed563d5 /core
parent165f52f2f9d2d75a4b55b6443ca0354d5e66e14e (diff)
downloadspark-4817ccdf50ef6ee24192800f9924d9ef3bb74e12.tar.gz
spark-4817ccdf50ef6ee24192800f9924d9ef3bb74e12.tar.bz2
spark-4817ccdf50ef6ee24192800f9924d9ef3bb74e12.zip
[SPARK-8373] [PYSPARK] Remove PythonRDD.emptyRDD
This is a follow-up PR to remove unused `PythonRDD.emptyRDD` added by #6826 Author: zsxwing <zsxwing@gmail.com> Closes #6867 from zsxwing/remove-PythonRDD-emptyRDD and squashes the following commits: b66d363 [zsxwing] Remove PythonRDD.emptyRDD
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala b/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala
index 0103f6c6ab..55a37f8c94 100644
--- a/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala
+++ b/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala
@@ -425,11 +425,6 @@ private[spark] object PythonRDD extends Logging {
iter.foreach(write)
}
- /** Create an RDD that has no partitions or elements. */
- def emptyRDD[T](sc: JavaSparkContext): JavaRDD[T] = {
- sc.emptyRDD[T]
- }
-
/**
* Create an RDD from a path using [[org.apache.hadoop.mapred.SequenceFileInputFormat]],
* key and value class.