-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[R] format_aggregation() should print options too #43894
Copy link
Copy link
Closed
Description
Describe the enhancement requested
We rely on C++ ToString methods for printing Arrow Expressions, which include functions, arguments, and options. But when we print arrow_dplyr_query objects with aggregations, we don't have Expressions at that time. The print method we use is
format_aggregation <- function(x) {
paste0(x$fun, "(", paste(map(x$data, ~ .$ToString()), collapse = ","), ")")
}
So it shows the function and the arguments, but not any options. We either need to construct Expressions and print them, or map option names to C++ options and include them in format_aggregation.
Component(s)
R
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Fields
Give feedbackNo fields configured for issues without a type.