pachamaltese commented on a change in pull request #9743:
URL: https://github.com/apache/arrow/pull/9743#discussion_r597915031
##########
File path: r/tests/testthat/test-parquet.R
##########
@@ -234,3 +234,17 @@ 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", {
+ skip_on_cran()
+ if (codec_is_available("snappy")) {
+ d <- read_parquet(system.file("extdata", "pets.parquet", package =
"arrow"))
Review comment:
so far I creates this error (the algorithm name changes):
Error: Unsupported compressed format 'lz4'. We suggest either setting the
right environment variable DARROW_WITH_LZ4=ON to install binaries or setting
LIBARROW_MINIMAL=false and then reinstall the package.
--
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]