You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/05/12 18:19:00 UTC
[jira] [Commented] (ARROW-7587) [C++][Compute] Add Top-k kernel
[ https://issues.apache.org/jira/browse/ARROW-7587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343435#comment-17343435 ]
Ian Cook commented on ARROW-7587:
---------------------------------
[~yibo] it looks like this kernel is not registered in the function registry and is not listed in the compute functions docs page. Is it intended for internal use only?
> [C++][Compute] Add Top-k kernel
> -------------------------------
>
> Key: ARROW-7587
> URL: https://issues.apache.org/jira/browse/ARROW-7587
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Yibo Cai
> Assignee: Yibo Cai
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.17.0
>
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> Add a kernel to get top k smallest or largest elements (indices). If we don't require these elements to be sorted, std::nth_element will be a much faster solution than sorting everything then pick top k.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)