mapleFU commented on code in PR #46940:
URL: https://github.com/apache/arrow/pull/46940#discussion_r2174618121
##########
cpp/src/parquet/statistics.cc:
##########
@@ -610,12 +610,11 @@ class TypedStatisticsImpl : public TypedStatistics<DType>
{
has_distinct_count_ = false;
}
- if (!encoded_min.empty()) {
+ if (has_min_max) {
Review Comment:
When has_min_max, the `encoded_max` and `encoded_min` is empty, which causes
the min-max un-initialized, and causing the issue
--
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]