You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Sam Albers (Jira)" <ji...@apache.org> on 2021/03/12 20:14:00 UTC
[jira] [Created] (ARROW-11947) filter doesn't accept negative
numbers as valid
Sam Albers created ARROW-11947:
----------------------------------
Summary: filter doesn't accept negative numbers as valid
Key: ARROW-11947
URL: https://issues.apache.org/jira/browse/ARROW-11947
Project: Apache Arrow
Issue Type: Bug
Components: R
Reporter: Sam Albers
Reprex with nyc-taxi data
{code:java}
R> library(arrow)
R> library(dplyr)
R> packageVersion("arrow")
[1] '3.0.0.9000'
R>
R>
R> open_dataset("nyc-taxi", partitioning = "year") %>%
filter(trip_distance >= -1) %>%
head(1) %>%
collect()
Error: Invalid: Function subtract_checked accepts 2 arguments but attempted to look up kernel(s) with 1
Backtrace:
x
1. +-[ `%>%`(...) ]
2. +-[ dplyr::collect(...) ]
3. +-[ utils::head(...) ]
4. \-arrow:::head.arrow_dplyr_query(., 1)
5. \-arrow:::head.Dataset(x, n, ...)
6. \-Scanner$create(ensure_group_vars(x))
7. \-Scanner$create(...)
8. \-scanner_builder$Filter(filter)
9. \-arrow:::dataset___ScannerBuilder__Filter(self, expr){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)