nealrichardson commented on a change in pull request #11315:
URL: https://github.com/apache/arrow/pull/11315#discussion_r728443497



##########
File path: r/tests/testthat/test-parquet.R
##########
@@ -104,6 +104,12 @@ test_that("write_parquet() accepts RecordBatch too", {
   expect_equal(tab, Table$create(batch))
 })
 
+test_that("write_parquet() handles grouped_df", {
+  library(dplyr, warn.conflicts = FALSE)
+  df <- tibble::tibble(a = 1:4, b = 5) %>% group_by(b)
+  expect_parquet_roundtrip(df, as_data_frame = TRUE)

Review comment:
       ```suggestion
     # Since `df` is a "grouped_df", this test asserts that we get a grouped_df 
back
     expect_parquet_roundtrip(df, as_data_frame = TRUE)
   ```




-- 
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.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to