We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
as_duckplyr_df()
This should keep the "duckplyr_df" class?
"duckplyr_df"
options(conflicts.policy = list(warn = FALSE)) library(duckplyr) Sys.setenv(DUCKPLYR_FALLBACK_INFO = TRUE) data.frame(a = 1:3, b = as.integer(c(1, 1, 2))) |> as_duckplyr_df() |> summarize(sum(a, na.rm = TRUE), .by = b) |> class() #> Error processing with relational. #> Caused by error: #> ! Binder Error: No function matches the given name and argument types 'sum(INTEGER, BOOLEAN)'. You might need to add explicit type casts. #> Candidate functions: #> sum(DECIMAL) -> DECIMAL #> sum(SMALLINT) -> HUGEINT #> sum(INTEGER) -> HUGEINT #> sum(BIGINT) -> HUGEINT #> sum(HUGEINT) -> HUGEINT #> sum(DOUBLE) -> DOUBLE #> [1] "data.frame"
Created on 2023-10-15 with reprex v2.0.2
The text was updated successfully, but these errors were encountered:
summarise()
Successfully merging a pull request may close this issue.
This should keep the
"duckplyr_df"
class?Created on 2023-10-15 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: