You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/06/14 09:04:00 UTC
[jira] [Commented] (ARROW-13071) [C++] sort_indices - implement
kernel that allows sorting by boolean field
[ https://issues.apache.org/jira/browse/ARROW-13071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17362835#comment-17362835 ]
Antoine Pitrou commented on ARROW-13071:
----------------------------------------
That should definitely be doable.
> [C++] sort_indices - implement kernel that allows sorting by boolean field
> ---------------------------------------------------------------------------
>
> Key: ARROW-13071
> URL: https://issues.apache.org/jira/browse/ARROW-13071
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Nic Crane
> Priority: Major
>
> Please can we have a kernel for sort_indices that allows the input to be boolean values?
> I tried running this R code:
> {code:java}
> Table$create(iris) %>%
> arrange(species == "setosa") %>%
> collect()
> {code}
> However, I get the following error:
> {code:java}
> Error: NotImplemented: bool
> /home/nic2/arrow/cpp/src/arrow/compute/kernels/vector_sort.cc:1628 sorter.Sort() {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)