Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/3390#discussion_r21068191
--- Diff: docs/programming-guide.md ---
@@ -934,6 +934,12 @@ for details.
<td> Reshuffle the data in the RDD randomly to create either more or
fewer partitions and balance it across them.
This always shuffles all data over the network. </td>
</tr>
+<tr>
+ <td> <b>repartitionAndSortWithinPartitions</b>(<i>partitioner</i>) </td>
+ <td> Repartition the RDD according to the given partitioner and, within
each resulting partition,
+ sort records by their keys. This is more efficient than calling
<b>repartition</b> and then sorting within
--- End diff --
Mind replacing the `<b>` here with a `<code>` tag instead?
---
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]