pitrou commented on code in PR #46992:
URL: https://github.com/apache/arrow/pull/46992#discussion_r2192856061


##########
cpp/src/parquet/statistics.cc:
##########
@@ -792,6 +805,8 @@ class TypedStatisticsImpl : public TypedStatistics<DType> {
     this->statistics_.null_count = 0;
     this->statistics_.distinct_count = 0;
     this->num_values_ = 0;
+    this->statistics_.is_min_value_exact = std::nullopt;
+    this->statistics_.is_max_value_exact = std::nullopt;

Review Comment:
   I'm not sure why these are reset here, since this method is ostensibly 
resetting the various counts, not the extrema.



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to