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



##########
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:
       Cool, this might be obvious, but it might be nice to comment that we're 
both ensuring + expecting that with a comment. I got it in the context of this 
PR, but I'm not sure I would remember that the roundtrip also includes this 
cache rebuilding.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to