-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Milestone
Description
Both min() and max() work in non-grouped aggregation and elsewhere, but with a grouped aggregation, we get a not-supported error:
> library(arrow)
> library(dplyr)
>
> InMemoryDataset$create(mtcars) %>%
+ group_by(cyl) %>%
+ summarise(min_mpg = min(mpg))
Warning: Error : Expression min(mpg) not supported in Arrow; pulling data into R
# A tibble: 3 × 2
cyl min_mpg
<dbl> <dbl>
1 4 21.4
2 6 17.8
3 8 10.4Reporter: Jonathan Keane / @jonkeane
Related issues:
- [R] Bindings for min/max aggregation (duplicates)
Note: This issue was originally created as ARROW-14103. Please see the migration documentation for further details.