From 2ecce1172419b9c0a14690aca88c666c327dda46 Mon Sep 17 00:00:00 2001 From: mwish Date: Thu, 23 Nov 2023 02:15:10 +0800 Subject: [PATCH] GH-38852: [C++] Replace ARROW_WITH_GZIP in dataset test to ARROW_WITH_ZLIB --- cpp/src/parquet/column_writer_test.cc | 2 +- cpp/src/parquet/file_deserialize_test.cc | 2 +- cpp/src/parquet/file_serialize_test.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/src/parquet/column_writer_test.cc b/cpp/src/parquet/column_writer_test.cc index 0d354f5c1ac0c..c9d3a92532019 100644 --- a/cpp/src/parquet/column_writer_test.cc +++ b/cpp/src/parquet/column_writer_test.cc @@ -557,7 +557,7 @@ TYPED_TEST(TestPrimitiveWriter, RequiredPlainWithStatsAndBrotliCompression) { #endif -#ifdef ARROW_WITH_GZIP +#ifdef ARROW_WITH_ZLIB TYPED_TEST(TestPrimitiveWriter, RequiredPlainWithGzipCompression) { this->TestRequiredWithSettings(Encoding::PLAIN, Compression::GZIP, false, false, LARGE_SIZE); diff --git a/cpp/src/parquet/file_deserialize_test.cc b/cpp/src/parquet/file_deserialize_test.cc index 4377e714a240b..6b3c7062fcc4a 100644 --- a/cpp/src/parquet/file_deserialize_test.cc +++ b/cpp/src/parquet/file_deserialize_test.cc @@ -91,7 +91,7 @@ static std::vector GetSupportedCodecTypes() { codec_types.push_back(Compression::BROTLI); #endif -#ifdef ARROW_WITH_GZIP +#ifdef ARROW_WITH_ZLIB codec_types.push_back(Compression::GZIP); #endif diff --git a/cpp/src/parquet/file_serialize_test.cc b/cpp/src/parquet/file_serialize_test.cc index 85bfd1c5147a8..62e1965418076 100644 --- a/cpp/src/parquet/file_serialize_test.cc +++ b/cpp/src/parquet/file_serialize_test.cc @@ -334,7 +334,7 @@ TYPED_TEST(TestSerialize, SmallFileBrotli) { } #endif -#ifdef ARROW_WITH_GZIP +#ifdef ARROW_WITH_ZLIB TYPED_TEST(TestSerialize, SmallFileGzip) { ASSERT_NO_FATAL_FAILURE(this->FileSerializeTest(Compression::GZIP)); }