[ 
https://issues.apache.org/jira/browse/ARROW-11946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neal Richardson closed ARROW-11946.
-----------------------------------
    Resolution: Duplicate

> filter doesn't accept negative numbers as valid
> -----------------------------------------------
>
>                 Key: ARROW-11946
>                 URL: https://issues.apache.org/jira/browse/ARROW-11946
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Sam Albers
>            Priority: Major
>
> 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)

Reply via email to