From cb25923fda92576b5b56f67482f41fd373c21c4f Mon Sep 17 00:00:00 2001 From: mwish Date: Tue, 10 Oct 2023 10:20:39 +0800 Subject: [PATCH] fix compile --- cpp/src/parquet/column_writer_test.cc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/cpp/src/parquet/column_writer_test.cc b/cpp/src/parquet/column_writer_test.cc index 6ca662f2b73e1..3c03164de383e 100644 --- a/cpp/src/parquet/column_writer_test.cc +++ b/cpp/src/parquet/column_writer_test.cc @@ -700,12 +700,19 @@ TYPED_TEST(TestPrimitiveWriter, RequiredLargeChunk) { // Test cases for dictionary fallback encoding TYPED_TEST(TestPrimitiveWriter, DictionaryFallbackVersion1_0) { - this->TestDictionaryFallbackEncoding(ParquetVersion::PARQUET_1_0); + this->TestDictionaryFallbackEncoding(ParquetVersion::PARQUET_1_0, + ParquetDataPageVersion::V1); } TYPED_TEST(TestPrimitiveWriter, DictionaryFallbackVersion2_0) { - this->TestDictionaryFallbackEncoding(ParquetVersion::PARQUET_2_4); - this->TestDictionaryFallbackEncoding(ParquetVersion::PARQUET_2_6); + this->TestDictionaryFallbackEncoding(ParquetVersion::PARQUET_2_4, + ParquetDataPageVersion::V1); + this->TestDictionaryFallbackEncoding(ParquetVersion::PARQUET_2_4, + ParquetDataPageVersion::V2); + this->TestDictionaryFallbackEncoding(ParquetVersion::PARQUET_2_6, + ParquetDataPageVersion::V1); + this->TestDictionaryFallbackEncoding(ParquetVersion::PARQUET_2_6, + ParquetDataPageVersion::V2); } TEST(TestWriter, NullValuesBuffer) {