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

ashish shenoy updated SPARK-10405:
----------------------------------
    Description: 
Spark provides the top() and takeOrdered() APIs that return "top" or "bottom" 
items from a given RDD. 

It'd be good to have an API that returned the "top" values per key for a keyed 
RDD i.e. RDDpair. Such an API would be very useful for cases where the task is 
to only display an ordered subset of the input data.

  was:
Spark provides the top() and takeOrdered() APIs that return "top" or "bottom" 
values from a given RDD. 

It'd be good to have an API that returned the "top" values per key for a keyed 
RDD i.e. RDDpair. Such an API would be very useful for cases where the task is 
to only display an ordered subset of the input data.


> Support takeOrdered and topK values per key
> -------------------------------------------
>
>                 Key: SPARK-10405
>                 URL: https://issues.apache.org/jira/browse/SPARK-10405
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: ashish shenoy
>              Labels: features, newbie
>
> Spark provides the top() and takeOrdered() APIs that return "top" or "bottom" 
> items from a given RDD. 
> It'd be good to have an API that returned the "top" values per key for a 
> keyed RDD i.e. RDDpair. Such an API would be very useful for cases where the 
> task is to only display an ordered subset of the input data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to