You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Ash (JIRA)" <ji...@apache.org> on 2014/04/09 16:42:14 UTC

[jira] [Commented] (SPARK-1063) Add .sortBy(f) method on RDD

    [ 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)