Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
This surfaced in some of the R unit tests. I believe the expected behaviour would be to return an empty chunked array. Reproducible example:
suppressMessages(library(arrow)) empty_filter <- ChunkedArray$create(type = bool()) one_empty_chunk <- ChunkedArray$create(type = decimal128(4, 2)) one_empty_chunk$Filter(empty_filter) #> ChunkedArray #> [ #> #> ] one_empty_chunk <- ChunkedArray$create(type = decimal256(4, 2)) one_empty_chunk$Filter(empty_filter) #>Error: NotImplemented: Function array_filter has no kernel matching input types (array[decimal256(4, 2)], array[bool])
This suite of unit tests were introduced as part of ARROW-13761.
Attachments
Issue Links
- is depended upon by
-
ARROW-15387 [R] Un-skip chunked array test for decimal256()
- Resolved
- is related to
-
ARROW-13761 [R] arrow::filter() crashes (aborts R session)
- Resolved
- links to