Repository navigation
fix(manifest): Interpret manifest files written without content metadata as data files - #545
Merged
Merged
Conversation
zeroshade
approved these changes
Aug 21, 2025
zeroshade
left a comment
Member
There was a problem hiding this comment.
LGTM
Thanks for this. I agree that an iceberg-testing repo would be extremely helpful. I don't have the time currently to put that forth, but it would be worth seeing if anyone else might step forward to try it out.
Just one nitpick that is take-it-or-leave-it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes: #544
V1 writers may not specify
contentat all when writing manifest files, but since this predatesdeletefiles these should be interpretted asdatafiles (https://iceberg.apache.org/spec/#manifests).Side Note: It could be helpful to have a
iceberg-testingrepo similar toparquet-testingorarrow-testingthat contains a bunch of files serialized to different standards of the spec. I don't know if this exists already but it was a bit tricky producing a manifest file to use for a unit test since the V1 writer included writescontent=datafor compatibility. I started creating new writer that omits that one field but it seemed like more to maintain than it was worth for that one test.