You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2014/03/05 00:32:50 UTC
git commit: SPARK-1109 wrong API docs for pyspark map function
Repository: spark
Updated Branches:
refs/heads/master 1865dd681 -> 02836657c
SPARK-1109 wrong API docs for pyspark map function
Author: Prashant Sharma <pr...@imaginea.com>
Closes #73 from ScrapCodes/SPARK-1109/wrong-API-docs and squashes the following commits:
1a55b58 [Prashant Sharma] SPARK-1109 wrong API docs for pyspark map function
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/02836657
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/02836657
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/02836657
Branch: refs/heads/master
Commit: 02836657cfec50bc6cc357541e40f8d36c90b352
Parents: 1865dd6
Author: Prashant Sharma <pr...@imaginea.com>
Authored: Tue Mar 4 15:32:43 2014 -0800
Committer: Matei Zaharia <ma...@databricks.com>
Committed: Tue Mar 4 15:32:43 2014 -0800
----------------------------------------------------------------------
python/pyspark/rdd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/02836657/python/pyspark/rdd.py
----------------------------------------------------------------------
diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py
index 1330e61..be23f87 100644
--- a/python/pyspark/rdd.py
+++ b/python/pyspark/rdd.py
@@ -163,7 +163,7 @@ class RDD(object):
def map(self, f, preservesPartitioning=False):
"""
- Return a new RDD containing the distinct elements in this RDD.
+ Return a new RDD by applying a function to each element of this RDD.
"""
def func(split, iterator): return imap(f, iterator)
return PipelinedRDD(self, func, preservesPartitioning)