jonkeane commented on a change in pull request #11361:
URL: https://github.com/apache/arrow/pull/11361#discussion_r728022118
##########
File path: r/tests/testthat/test-metadata.R
##########
@@ -254,36 +255,62 @@ test_that("Row-level metadata (does not) roundtrip in
datasets", {
dst_dir <- make_temp_dir()
- withr::local_options(list("arrow.preserve_row_level_metadata" = TRUE))
- expect_warning(
- write_dataset(df, dst_dir, partitioning = "part"),
- "Row-level metadata is not compatible with datasets and will be discarded"
- )
+ withr::with_options(
+ list("arrow.preserve_row_level_metadata" = TRUE), {
+ withr::local_options(list("arrow.preserve_row_level_metadata" = TRUE))
Review comment:
Ah yes, that was a mistake, fixed now.
--
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]