Skip to content

sio/parquetio: fix projection pushdown lists and maps - #7241

Merged
nwt merged 1 commit into
mainfrom
fix-parquet
Aug 25, 2026
Merged

sio/parquetio: fix projection pushdown lists and maps#7241
nwt merged 1 commit into
mainfrom
fix-parquet

Conversation

@nwt

@nwt nwt commented Aug 24, 2026

Copy link
Copy Markdown
Member

Projection pushdown fails for lists and maps because columnIndexes returns nothing for columns with nested logical types (LIST and MAP). It does that because it looks up columns via
parquet/schema.Schema.ColumnIndexByName, which exposes the structuring fields not present in the data (i.e., list and element for LIST; map, key, and value for MAP). Fix this by finding column indexes via pqarrow.SchemaManifest, which does not include those fields.

Fixes #7220.

Projection pushdown fails for lists and maps because columnIndexes
returns nothing for columns with nested logical types (LIST and MAP).
It does that because it looks up columns via
parquet/schema.Schema.ColumnIndexByName, which exposes the structuring
fields not present in the data (i.e., list and element for LIST; map,
key, and value for MAP).  Fix this by finding column indexes via
pqarrow.SchemaManifest, which does not include those fields.
@nwt
nwt requested a review from a team August 24, 2026 18:14
@nwt
nwt merged commit aff3952 into main Aug 25, 2026
2 checks passed
@nwt
nwt deleted the fix-parquet branch August 25, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parquet: Nested columns become error("missing") under SQL projection

2 participants