anshurajbisoyi98-ctrl commented on PR #2729:
URL: https://github.com/apache/iceberg-go/pull/2729#issuecomment-7235970557

   Thanks, good catch. This was already happening in `full` mode on main (a 
file with `NULL` and `7` got `amount=7`), and this PR carried it over to `none` 
and `counts`.
   
   I pushed a fix: null counts are now tracked in every metrics mode, and 
inference refuses a file when they show the source column has both nulls and 
values, since that file covers two partitions. There's a test for all three 
modes.
   
   If the footer has no null count at all, inference still goes by the bounds 
like before. I left that as is to keep this PR scoped, but I'm happy to tighten 
it here if you think it should.
   


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