aboutsummaryrefslogtreecommitdiff
path: root/docs/scala-programming-guide.md
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@apache.org>2014-01-23 20:01:36 -0800
committerJosh Rosen <joshrosen@apache.org>2014-01-23 20:01:36 -0800
commit4cebb79c9f3067da0c533292de45d7ecf56f2ff2 (patch)
tree32af23ff5ae09d8cb92b3ef7d80878f2b2dfa8eb /docs/scala-programming-guide.md
parentff44732171730fd9e5db005062a45464a3801358 (diff)
downloadspark-4cebb79c9f3067da0c533292de45d7ecf56f2ff2.tar.gz
spark-4cebb79c9f3067da0c533292de45d7ecf56f2ff2.tar.bz2
spark-4cebb79c9f3067da0c533292de45d7ecf56f2ff2.zip
Deprecate mapPartitionsWithSplit in PySpark.
Also, replace the last reference to it in the docs. This fixes SPARK-1026.
Diffstat (limited to 'docs/scala-programming-guide.md')
-rw-r--r--docs/scala-programming-guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/scala-programming-guide.md b/docs/scala-programming-guide.md
index c1ef46a1cd..7c0f67bc99 100644
--- a/docs/scala-programming-guide.md
+++ b/docs/scala-programming-guide.md
@@ -168,9 +168,9 @@ The following tables list the transformations and actions currently supported (s
Iterator[T] => Iterator[U] when running on an RDD of type T. </td>
</tr>
<tr>
- <td> <b>mapPartitionsWithSplit</b>(<i>func</i>) </td>
+ <td> <b>mapPartitionsWithIndex</b>(<i>func</i>) </td>
<td> Similar to mapPartitions, but also provides <i>func</i> with an integer value representing the index of
- the split, so <i>func</i> must be of type (Int, Iterator[T]) => Iterator[U] when running on an RDD of type T.
+ the partition, so <i>func</i> must be of type (Int, Iterator[T]) => Iterator[U] when running on an RDD of type T.
</td>
</tr>
<tr>