You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by da...@apache.org on 2015/06/18 07:07:29 UTC
spark git commit: [SPARK-8373] [PYSPARK] Remove PythonRDD.emptyRDD
Repository: spark
Updated Branches:
refs/heads/master 165f52f2f -> 4817ccdf5
[SPARK-8373] [PYSPARK] Remove PythonRDD.emptyRDD
This is a follow-up PR to remove unused `PythonRDD.emptyRDD` added by #6826
Author: zsxwing <zs...@gmail.com>
Closes #6867 from zsxwing/remove-PythonRDD-emptyRDD and squashes the following commits:
b66d363 [zsxwing] Remove PythonRDD.emptyRDD
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4817ccdf
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4817ccdf
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4817ccdf
Branch: refs/heads/master
Commit: 4817ccdf50ef6ee24192800f9924d9ef3bb74e12
Parents: 165f52f
Author: zsxwing <zs...@gmail.com>
Authored: Wed Jun 17 22:07:16 2015 -0700
Committer: Davies Liu <da...@databricks.com>
Committed: Wed Jun 17 22:07:16 2015 -0700
----------------------------------------------------------------------
core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala | 5 -----
1 file changed, 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/4817ccdf/core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala
----------------------------------------------------------------------
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 0103f6c..55a37f8 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org