Skip to content

Commit

Permalink
wrong length for use_dictionary and write_statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
romainfrancois committed Sep 27, 2019
1 parent 00cc214 commit 5ade52d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions r/tests/testthat/test-parquet.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ test_that("write_parquet() handles various use_dictionary= specs", {
tab <- Table$create(x1 = 1:5, x2 = 1:5, y = 1:5)

expect_parquet_roundtrip(tab, use_dictionary = TRUE)
expect_parquet_roundtrip(tab, use_dictionary = c(TRUE, FALSE, TRUE, FALSE))
expect_parquet_roundtrip(tab, use_dictionary = c(TRUE, FALSE, TRUE))
expect_parquet_roundtrip(tab, use_dictionary = c(x1 = TRUE, x2 = TRUE))
})

test_that("write_parquet() handles various write_statistics= specs", {
tab <- Table$create(x1 = 1:5, x2 = 1:5, y = 1:5)

expect_parquet_roundtrip(tab, write_statistics = TRUE)
expect_parquet_roundtrip(tab, write_statistics = c(TRUE, FALSE, TRUE, FALSE))
expect_parquet_roundtrip(tab, write_statistics = c(TRUE, FALSE, TRUE))
expect_parquet_roundtrip(tab, write_statistics = c(x1 = TRUE, x2 = TRUE))
})

0 comments on commit 5ade52d

Please sign in to comment.