moomindani commented on PR #3631:
URL: https://github.com/apache/iceberg-python/pull/3631#issuecomment-7184694233

   Thanks @Fokko, and thanks for running the suites locally.
   
   On the nit: an always-False predicate selects no manifests, so nothing is 
rewritten. `rewrites_needed()` returns False and `commit()` adds no snapshot; I 
checked this on a table with three appends. The case the docstring describes is 
a predicate that matches only manifests with no live entries. There 
`rewrites_needed()` reports True because it doesn't read the manifests, but 
`commit()` still adds no snapshot. A predicate that matches a single live 
manifest does rewrite it into an equivalent one. That is intended, since 
re-encoding old manifests is what `rewrite_if` is for, and the `rewrite_if` 
section of the docs says so.
   
   If that looks right to you, would you be able to approve and merge?
   


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