[ https://issues.apache.org/jira/browse/ARROW-17737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
SHIMA Tatsuya updated ARROW-17737: ---------------------------------- Issue Type: Bug (was: Improvement) > [R] Continue to retain grouping metadata even if ungroup arrow dplyr query > -------------------------------------------------------------------------- > > Key: ARROW-17737 > URL: https://issues.apache.org/jira/browse/ARROW-17737 > Project: Apache Arrow > Issue Type: Bug > Components: R > Affects Versions: 9.0.0 > Reporter: SHIMA Tatsuya > Priority: Major > > Perhaps {{metadata$r$attributes$.group_vars}} needs to be removed when it > becomes an arrow dplyr query. > And it must also be written back again when converted to a Table. > {code:r} > mtcars |> dplyr::group_by(cyl) |> arrow::arrow_table() |> dplyr::ungroup() |> > as.data.frame() |> dplyr::group_vars() > #> character(0) > mtcars |> dplyr::group_by(cyl) |> arrow:::as_adq() |> dplyr::ungroup() |> > as.data.frame() |> dplyr::group_vars() > #> [1] "cyl" > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)