Skip to content

Commit

Permalink
[SPARK-8373] [PYSPARK] Remove PythonRDD.emptyRDD
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zsxwing authored and Davies Liu committed Jun 18, 2015
1 parent 165f52f commit 4817ccd
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4817ccd

Please sign in to comment.