Skip to content

Commit

Permalink
apacheGH-38852: [C++] Replace ARROW_WITH_GZIP in dataset test to ARRO…
Browse files Browse the repository at this point in the history
…W_WITH_ZLIB
  • Loading branch information
mapleFU committed Nov 22, 2023
1 parent 8cc71ab commit 2ecce11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/src/parquet/column_writer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/parquet/file_deserialize_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static std::vector<Compression::type> GetSupportedCodecTypes() {
codec_types.push_back(Compression::BROTLI);
#endif

#ifdef ARROW_WITH_GZIP
#ifdef ARROW_WITH_ZLIB
codec_types.push_back(Compression::GZIP);
#endif

Expand Down
2 changes: 1 addition & 1 deletion cpp/src/parquet/file_serialize_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 2ecce11

Please sign in to comment.