diff --git a/cpp/src/parquet/file/reader-internal.cc b/cpp/src/parquet/file/reader-internal.cc index 7b821b8b058d2..bd3fbea1f4679 100644 --- a/cpp/src/parquet/file/reader-internal.cc +++ b/cpp/src/parquet/file/reader-internal.cc @@ -196,7 +196,7 @@ std::unique_ptr SerializedRowGroup::GetColumnPageReader(int i) { stream = properties_.GetStream(source_, col_start, col_length); return std::unique_ptr(new SerializedPageReader(std::move(stream), - row_group_metadata_->num_rows(), col->compression(), properties_.memory_pool())); + col->num_values(), col->compression(), properties_.memory_pool())); } // ----------------------------------------------------------------------