Skip to content

Error when using summarise() with literal values #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #205
thisisnic opened this issue Jun 20, 2022 · 0 comments · Fixed by #253
Closed
Tracked by #205

Error when using summarise() with literal values #153

thisisnic opened this issue Jun 20, 2022 · 0 comments · Fixed by #253

Comments

@thisisnic
Copy link
Contributor

library(dplyr, warn.conflicts = FALSE)
library(substrait, warn.conflicts = FALSE)

mtcars %>% 
  summarise(1L) %>%
  collect() 
#>   1L
#> 1  1

mtcars %>% 
  duckdb_substrait_compiler() %>%
  summarise(1L) %>%
  collect() 
#> Error in as_substrait.default(result, "substrait.AggregateFunction"): Can't create substrait.AggregateFunction from object of type 'integer'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant