Skip to content

Commit

Permalink
Update cpp/src/parquet/column_writer_test.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU authored Jan 27, 2024
1 parent 3c57779 commit 96f7047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/parquet/column_writer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -922,8 +922,8 @@ TEST(TestPageWriter, ThrowsOnPagesTooLarge) {
ThrowsMessage<ParquetException>(HasSubstr("overflows INT32_MAX")));
DictionaryPage dictionary_over_compressed_limit(buffer, /*num_values=*/100,
Encoding::PLAIN);
EXPECT_THROW(pager->WriteDictionaryPage(dictionary_over_compressed_limit),
ParquetException);
EXPECT_THAT([&]() { pager->WriteDictionaryPage(dictionary_over_compressed_limit); },
ThrowsMessage<ParquetException>(HasSubstr("overflows INT32_MAX")));

buffer = std::make_shared<Buffer>(&data, 1);
DataPageV1 over_uncompressed_limit(
Expand Down

0 comments on commit 96f7047

Please sign in to comment.