[ https://issues.apache.org/jira/browse/SPARK-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964221#comment-13964221 ]
Andrew Ash edited comment on SPARK-1063 at 4/9/14 2:40 PM: ----------------------------------------------------------- The old PR is gone now (and was never merged) so I'm re-aiming at the apache/spark repo here: https://github.com/apache/spark/pull/369 was (Author: aash): 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)