andishgar commented on code in PR #46422: URL: https://github.com/apache/arrow/pull/46422#discussion_r2118282098
########## cpp/src/arrow/array/statistics.h: ########## @@ -127,18 +128,20 @@ struct ARROW_EXPORT ArrayStatistics { /// \brief Whether the maximum value is exact or not bool is_max_exact = false; - /// \brief Check two statistics for equality - bool Equals(const ArrayStatistics& other) const { - return null_count == other.null_count && distinct_count == other.distinct_count && - min == other.min && is_min_exact == other.is_min_exact && max == other.max && - is_max_exact == other.is_max_exact; - } - - /// \brief Check two statistics for equality - bool operator==(const ArrayStatistics& other) const { return Equals(other); } - - /// \brief Check two statistics for not equality - bool operator!=(const ArrayStatistics& other) const { return !Equals(other); } Review Comment: As we discussed [here](https://github.com/apache/arrow/pull/46385#discussion_r2083522484), these methods are redundant and should be removed -- 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