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


##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:
##########
@@ -2296,6 +2292,11 @@ public static HoodieMetadataColumnStats 
mergeColumnStatsRecords(HoodieMetadataCo
       return newColumnStats;
     }
 
+    // If new column stats is tight bound, then discard the previous column 
stats
+    if (newColumnStats.getIsTightBound() && 
!prevColumnStats.getIsTightBound()) {

Review Comment:
   why does it matter if prev is tight bound or no? if newColStats is 
TightBound, we should just choose the new one and return right? 



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