You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "SHIMA Tatsuya (Jira)" <ji...@apache.org> on 2022/07/15 12:18:00 UTC

[jira] [Created] (ARROW-17085) [R] group_vars() returns NULL

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)