We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15cacc8 commit 0fc12d7Copy full SHA for 0fc12d7
docs/programming-guide.md
@@ -934,6 +934,12 @@ for details.
934
<td> Reshuffle the data in the RDD randomly to create either more or fewer partitions and balance it across them.
935
This always shuffles all data over the network. </td>
936
</tr>
937
+<tr>
938
+ <td> <b>repartitionAndSortWithinPartitions</b>(<i>partitioner</i>) </td>
939
+ <td> Repartition the RDD according to the given partitioner and, within each resulting partition,
940
+ sort records by their keys. This is more efficient than calling <b>repartition</b> and then sorting within
941
+ each partition because it can push the sorting down into the shuffle machinery. </td>
942
+</tr>
943
</table>
944
945
### Actions
0 commit comments