Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/2508#discussion_r18012607
--- Diff: docs/programming-guide.md ---
@@ -882,7 +882,11 @@ for details.
</tr>
<tr>
<td> <b>groupByKey</b>([<i>numTasks</i>]) </td>
- <td> When called on a dataset of (K, V) pairs, returns a dataset of (K,
Iterable<V>) pairs. <br />
+ <td> When called on a dataset of (K, V) pairs, returns a dataset of (K,
Iterable<V>) pairs.
+ <br />
+ <b>Note:</b> The ordering of elements within each group is not
guaranteed, and may even differ
+ each time the resulting RDD is evaluated.
--- End diff --
I don't think this is a good place to put this in the programming guide. If
you can't find another place, maybe just leave it out. The other note here is a
much more important and more common pitfall.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]