ianmcook commented on a change in pull request #10261:
URL: https://github.com/apache/arrow/pull/10261#discussion_r627898326



##########
File path: r/tests/testthat/test-RecordBatch.R
##########
@@ -499,3 +499,21 @@ test_that("Handling string data with embedded nuls", {
     )
   })
 })
+
+test_that("ARROW-11769 - grouping preserved in record batch creation", {
+  
+  tbl <- tibble::tibble(
+    int = 1:10,
+    fct = factor(rep(c("A", "B"), 5)),
+    fct2 = factor(rep(c("C", "D"), each = 5)),
+  )
+  
+  expect_identical(
+    tbl %>%
+      group_by(fct, fct2) %>%

Review comment:
       ```suggestion
         dplyr::group_by(fct, fct2) %>%
   ```




-- 
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:
us...@infra.apache.org


Reply via email to