ianmcook commented on a change in pull request #9716:
URL: https://github.com/apache/arrow/pull/9716#discussion_r595463631
##########
File path: r/R/dplyr.R
##########
@@ -424,11 +427,16 @@ restore_dplyr_features <- function(df, query) {
if (grouped) {
# Preserve groupings, if present
if (is.data.frame(df)) {
- df <- dplyr::grouped_df(df, dplyr::group_vars(query))
+ df <- dplyr::grouped_df(
+ df,
+ dplyr::group_vars(query),
+ drop = group_by_drop_default(query)
+ )
Review comment:
Fixed in 5fc302fb84a7a9afc8fe7bf5d187716c88598e18
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]