SHIMA Tatsuya created ARROW-17085:
-------------------------------------

             Summary: [R] group_vars(<ArrowTabular>) returns NULL
                 Key: ARROW-17085
                 URL: https://issues.apache.org/jira/browse/ARROW-17085
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
    Affects Versions: 8.0.0
            Reporter: SHIMA Tatsuya


{code:r}
mtcars |> dplyr::group_vars()
#> character(0)
mtcars |> arrow:::as_adq() |> dplyr::group_vars()
#> character(0)
mtcars |> arrow::arrow_table() |> dplyr::group_vars()
#> NULL
{code}

{{dplyr::group_vars(<data.frame>)}} does not return NULL, so the following code 
will result in an error.

{code:r}
mtcars |> arrow::arrow_table() |> dtplyr::lazy_dt()
#> Error in new_step(parent, vars = names(parent), groups = groups, locals = 
list(), : is.character(groups) is not TRUE
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to