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

Alexander updated ARROW-13969:
------------------------------
    Description: 
PR [https://github.com/apache/arrow/pull/11019] implements SelectKUnstable.

 

Some previous result of SelectKUnstable using StableHeap is shown here: 
[https://github.com/apache/arrow/pull/11019#issuecomment-913977337] 

 

So, implementation of SelectKStable   should explore how to implement this 
algorithm using StablePartition + stable_sorting.

 

Final note: As mentioned here: 
[https://github.com/apache/arrow/pull/11019#discussion_r706231044] 

.e. instead of {{select_k_options.is_top_k()}} have 1) a check that there are 
sort keys and then 2) check {{select_k_options.sort_keys[0].order == 
Descending}} instead, inside the function definition.
!https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png|width=20,height=20!
 1
 

  was:
PR [https://github.com/apache/arrow/pull/11019] implements SelectKUnstable.

 

Some previous result of SelectKUnstable using StableHeap is shown here: 
[https://github.com/apache/arrow/pull/11019#issuecomment-913977337] 

 

So, implementation of SelectKStable   should explore how to implement this 
algorithm using StablePartition + stable_sorting.


> [C++][Compute] Implement SelectKStable
> --------------------------------------
>
>                 Key: ARROW-13969
>                 URL: https://issues.apache.org/jira/browse/ARROW-13969
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Alexander
>            Priority: Major
>              Labels: analytics, kernel, query-engine
>             Fix For: 6.0.0
>
>
> PR [https://github.com/apache/arrow/pull/11019] implements SelectKUnstable.
>  
> Some previous result of SelectKUnstable using StableHeap is shown here: 
> [https://github.com/apache/arrow/pull/11019#issuecomment-913977337] 
>  
> So, implementation of SelectKStable   should explore how to implement this 
> algorithm using StablePartition + stable_sorting.
>  
> Final note: As mentioned here: 
> [https://github.com/apache/arrow/pull/11019#discussion_r706231044] 
> .e. instead of {{select_k_options.is_top_k()}} have 1) a check that there are 
> sort keys and then 2) check {{select_k_options.sort_keys[0].order == 
> Descending}} instead, inside the function definition.
> !https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png|width=20,height=20!
>  1
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to