jonkeane commented on a change in pull request #9743:
URL: https://github.com/apache/arrow/pull/9743#discussion_r606390457
##########
File path: r/tests/testthat/test-parquet.R
##########
@@ -234,3 +234,11 @@ test_that("ParquetFileReader $ReadRowGroup(s) methods", {
expect_true(reader$ReadRowGroups(c(0, 1), 0) == Table$create(x = 1:20))
expect_error(reader$ReadRowGroups(c(0, 1), 1))
})
+
+test_that("Error messages are shown when the compression algorithm lz4/snappy
+ is not found", {
+ if (codec_is_available("snappy")) {
+ d <- read_parquet(pq_file)
+ expect_is(d, "data.frame")
+ }
+})
Review comment:
Does this test do anything more than the one on lines 24-29 do?
--
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:
[email protected]