smaheshwar-pltr commented on code in PR #16796:
URL: https://github.com/apache/iceberg/pull/16796#discussion_r3591616107


##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -1804,12 +1804,16 @@ private static List<MetadataLogEntry> addPreviousFile(
 
       int maxSize =
           Math.max(
-              1,
+              0,

Review Comment:
   Apologies, struggling a bit to parse the concern here
   
   Negative values were clamped prior to this PR, and I don't really think that 
changing that bound from 1 to 0 is too significant? If anything, changing to 
throw an exception is a much larger behaviour change. Could we defer the more 
dramatic change of disallowing such a property value to a follow-up PR here 
instead? 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to