You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Manifests are written without an avro.codec entry; PyIceberg 0.12 cannot read them #3640
ManifestWriter and ManifestListWriter create their Avro writers with Writer::new, so the files carry no avro.codec entry (uncompressed). The Avro specification makes null the default, but PyIceberg 0.12 falls back to the Iceberg table-property default gzip, which is not an Avro codec name, and raises ValueError: Unsupported codec: gzip. A table with one snapshot written by iceberg-rust then cannot be scanned from PyIceberg (the PyIceberg side is apache/iceberg-python, issue to follow).
To Reproduce
Commit a fast append with iceberg-rust to a table, then table.scan().to_arrow() with PyIceberg 0.12.
Expected behavior
Manifests compressed with deflate (what other writers produce for manifests; DuckDB's in the same table were deflate), which also makes them smaller.
Willingness to contribute
I can contribute a fix for this bug independently (PR to follow).
Activity