[
https://issues.apache.org/jira/browse/SPARK-38094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-38094.
---------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
Issue resolved by pull request 35385
[https://github.com/apache/spark/pull/35385]
> Parquet: enable matching schema columns by field id
> ---------------------------------------------------
>
> Key: SPARK-38094
> URL: https://issues.apache.org/jira/browse/SPARK-38094
> Project: Spark
> Issue Type: New Feature
> Components: Spark Core
> Affects Versions: 3.3.0
> Reporter: Jackie Zhang
> Priority: Major
> Fix For: 3.3.0
>
>
> Field Id is a native field in the Parquet schema
> ([https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift#L398])
> After this PR, when the requested schema has field IDs, Parquet readers will
> first use the field ID to determine which Parquet columns to read, before
> falling back to using column names as before. It enables matching columns by
> field id for supported DWs like iceberg and Delta.
> This PR supports:
> * vectorized reader
> * Parquet-mr reader
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]