spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Ash (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SPARK-1063) Add .sortBy(f) method on RDD
Date Wed, 09 Apr 2014 14:42:16 GMT

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

Mime
View raw message