mapleFU commented on code in PR #35989:
URL: https://github.com/apache/arrow/pull/35989#discussion_r1237552645
##########
cpp/src/parquet/statistics.cc:
##########
@@ -543,7 +557,7 @@ class TypedStatisticsImpl : public TypedStatistics<DType> {
ResetCounts();
has_min_max_ = false;
has_distinct_count_ = false;
- has_null_count_ = false;
+ has_null_count_ = true;
Review Comment:
page statistics will call `Reset`, this will clear `has_null_count_`,
however, this time it should have `has_null_count_ = 0`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]