Skip to content

[C++] sort_indices - implement kernel that allows sorting by boolean field #28778

@asfimport

Description

@asfimport

Please can we have a kernel for sort_indices that allows the input to be boolean values?

I tried running this R code:

Table$create(iris) %>%
  arrange(Species == "setosa") %>%
  collect()
      

However, I get the following error:

Error: NotImplemented: bool
/home/nic2/arrow/cpp/src/arrow/compute/kernels/vector_sort.cc:1628  sorter.Sort() 

Reporter: Nicola Crane / @thisisnic

Related issues:

Note: This issue was originally created as ARROW-13071. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions