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
Column projection: partial field IDs in Parquet resolve via name mapping #4463
Body:
PyIceberg's _HasIds check treats a file as fully ID-bearing only when every
field, including list elements and map keys/values, has an ID. Otherwise it
resolves the whole file through schema.name-mapping.default.
The spec now says the opposite: before projection, readers check the full file
schema; if any field ID is present at any depth, readers use stored IDs and
treat ID-less fields, lists missing an element ID and maps missing a key or
value ID as absent. Absent fields resolve through partition metadata, initial-default, then null — never through the name mapping, which applies
only to files with no field IDs.
Reference fixture: apache/iceberg-verification#27
(v2/partial-field-ids-parquet-data), with expected values. On that file all
projections currently fail in PyIceberg 0.12.0.
Closing in favor of #4417 and its fix in #4419, which already makes the reader resolve a file by ID when any column has one and drop a list or map whose element, key or value has no ID.
Activity
slachiewicz commentedon Nov 22, 2026
Closing in favor of #4417 and its fix in #4419, which already makes the reader resolve a file by ID when any column has one and drop a list or map whose element, key or value has no ID.
One correction to my description: the spec wording I quoted is proposed in apache/iceberg#19037 and is not merged yet. The reference table for this case is apache/iceberg-verification#27.