You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/03/13 01:07:00 UTC
[jira] [Assigned] (ARROW-11945) [R] filter doesn't accept negative
numbers as valid
[ https://issues.apache.org/jira/browse/ARROW-11945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson reassigned ARROW-11945:
---------------------------------------
Assignee: Neal Richardson
> [R] filter doesn't accept negative numbers as valid
> ---------------------------------------------------
>
> Key: ARROW-11945
> URL: https://issues.apache.org/jira/browse/ARROW-11945
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Reporter: Sam Albers
> Assignee: Neal Richardson
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)