From 4817ccdf50ef6ee24192800f9924d9ef3bb74e12 Mon Sep 17 00:00:00 2001 From: zsxwing <zsxwing@gmail.com> Date: Wed, 17 Jun 2015 22:07:16 -0700 Subject: [PATCH] [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 --- .../main/scala/org/apache/spark/api/python/PythonRDD.scala | 5 ----- 1 file changed, 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. -- GitLab