nsivabalan commented on code in PR #7053:
URL: https://github.com/apache/hudi/pull/7053#discussion_r1003973859


##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java:
##########
@@ -639,8 +639,8 @@ private static HoodieMetadataColumnStats 
mergeColumnStatsRecords(HoodieMetadataC
 
     Comparable maxValue =
         (Comparable) Stream.of(
-            (Comparable) 
unwrapStatisticValueWrapper(prevColumnStats.getMinValue()),
-            (Comparable) 
unwrapStatisticValueWrapper(newColumnStats.getMinValue()))
+            (Comparable) 
unwrapStatisticValueWrapper(prevColumnStats.getMaxValue()),
+            (Comparable) 
unwrapStatisticValueWrapper(newColumnStats.getMaxValue()))

Review Comment:
   +1 



-- 
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]

Reply via email to