Skip to content
Snippets Groups Projects
Commit 4817ccdf authored by zsxwing's avatar zsxwing Committed by Davies Liu
Browse files

[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
parent 165f52f2
No related branches found
No related tags found
No related merge requests found
...@@ -425,11 +425,6 @@ private[spark] object PythonRDD extends Logging { ...@@ -425,11 +425,6 @@ private[spark] object PythonRDD extends Logging {
iter.foreach(write) 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]], * Create an RDD from a path using [[org.apache.hadoop.mapred.SequenceFileInputFormat]],
* key and value class. * key and value class.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment