Skip to content

Commit 146c434

Browse files
zsxwingnemccarthy
authored andcommitted
[SPARK-8373] [PYSPARK] Remove PythonRDD.emptyRDD
This is a follow-up PR to remove unused `PythonRDD.emptyRDD` added by apache#6826 Author: zsxwing <[email protected]> Closes apache#6867 from zsxwing/remove-PythonRDD-emptyRDD and squashes the following commits: b66d363 [zsxwing] Remove PythonRDD.emptyRDD
1 parent 1fa00df commit 146c434

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,11 +425,6 @@ private[spark] object PythonRDD extends Logging {
425425
iter.foreach(write)
426426
}
427427

428-
/** Create an RDD that has no partitions or elements. */
429-
def emptyRDD[T](sc: JavaSparkContext): JavaRDD[T] = {
430-
sc.emptyRDD[T]
431-
}
432-
433428
/**
434429
* Create an RDD from a path using [[org.apache.hadoop.mapred.SequenceFileInputFormat]],
435430
* key and value class.

0 commit comments

Comments
 (0)