From cf08cc82a5f540ca881a8b462e66144dded3b957 Mon Sep 17 00:00:00 2001 From: Gang Wu Date: Mon, 20 Jan 2025 16:01:30 +0800 Subject: [PATCH] Update cpp/src/parquet/size_statistics_test.cc Co-authored-by: Antoine Pitrou --- cpp/src/parquet/size_statistics_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/parquet/size_statistics_test.cc b/cpp/src/parquet/size_statistics_test.cc index e379d38bf2bc5..90d6df57e7f43 100644 --- a/cpp/src/parquet/size_statistics_test.cc +++ b/cpp/src/parquet/size_statistics_test.cc @@ -225,7 +225,7 @@ class SizeStatisticsRoundTripTest : public ::testing::Test { auto row_group_reader = reader->RowGroup(i); for (int j = 0; j < metadata->num_columns(); ++j) { auto column_reader = row_group_reader->RecordReader(j); - ASSERT_EQ(column_reader->ReadRecords(num_rows), num_rows); + ASSERT_EQ(column_reader->ReadRecords(num_rows + 1), num_rows); } } }