You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Matei Zaharia (JIRA)" <ji...@apache.org> on 2014/11/06 08:10:33 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matei Zaharia resolved SPARK-1063.
----------------------------------
    Resolution: Fixed

> 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org