HuaHuaY commented on code in PR #50807:
URL: https://github.com/apache/arrow/pull/50807#discussion_r3805384957
##########
cpp/src/parquet/statistics.cc:
##########
@@ -905,6 +1214,13 @@ inline bool TypedStatisticsImpl<FLBAType>::MinMaxEqual(
template <typename DType>
bool TypedStatisticsImpl<DType>::MinMaxEqual(
const TypedStatisticsImpl<DType>& other) const {
+ if constexpr (std::same_as<T, float> || std::same_as<T, double>) {
Review Comment:
I will return `false` in the `Equals` method and throw exception in the
`Merge` method when the column orders are different.
--
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]