[
https://issues.apache.org/jira/browse/SPARK-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964221#comment-13964221
]
Andrew Ash commented on SPARK-1063:
-----------------------------------
https://github.com/apache/spark/pull/369
> Add .sortBy(f) method on RDD
> ----------------------------
>
> Key: SPARK-1063
> URL: https://issues.apache.org/jira/browse/SPARK-1063
> Project: Spark
> Issue Type: New Feature
> Components: Spark Core
> Affects Versions: 0.9.0
> Reporter: Andrew Ash
> Assignee: Andrew Ash
>
> Based on this GitHub PR: https://github.com/apache/incubator-spark/pull/508
> I've written the below so many times that I think it'd be broadly useful to
> have a .sortBy(f) method on RDD:
> {code}
> .keyBy{l => <my function> }
> .sortByKey()
> .map(_._2)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)