Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17085

[R] group_vars() should not return NULL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.0
    • 9.0.0
    • R

    Description

      mtcars |> dplyr::group_vars()
      #> character(0)
      mtcars |> arrow:::as_adq() |> dplyr::group_vars()
      #> character(0)
      mtcars |> arrow::arrow_table() |> dplyr::group_vars()
      #> NULL
      

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

      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
      

      Attachments

        Issue Links

          Activity

            People

              eitsupi SHIMA Tatsuya
              eitsupi SHIMA Tatsuya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m