Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions r/tests/testthat/test-parquet.R
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ test_that("Maps are preserved when writing/reading from Parquet", {
})

test_that("read_parquet() and write_parquet() accept connection objects", {
skip_if_not_available("snappy")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other way to do this would be to specify no compression in write_parquet(). That plus a comment explaining why is probably clearer since skip_if_not_available("snappy") isn't actually what's happening (snappy is available in the build but the function still skips on linux devel to avoid sanitizers)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I've been thinking about how may of these we need + it would be great if we actually tested this with our default and then fell back on sanitizers only. Either compression should be totally fine, but it would be nice to have coverage on both. But we should do that generally. I'll make a Jira for that + we can do that outside of the release pressure.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


tf <- tempfile()
on.exit(unlink(tf))

Expand Down