You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "szehon-ho (via GitHub)" <gi...@apache.org> on 2025/05/07 22:49:54 UTC

[PR] [SPARK-52029][SQL] Support external field-id to column-name mapping for Parquet [spark]

szehon-ho opened a new pull request, #50819:
URL: https://github.com/apache/spark/pull/50819

   
   
   ### What changes were proposed in this pull request?
   
   Add spark.sql.parquet.fieldId.read.externalMapping to allow specifying external field id to name mapping for Parquet file format.
   
   ### Why are the changes needed?
   Similar to Iceberg's schema.name-mapping.default (https://iceberg.apache.org/spec/#column-projection)
   
   Add support for Spark parquet file format to also be able to specify an external mapping, so we can read externally-created files added to the table, with field-ids not in the existing table schema.
   
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Added new test in ParquetIdExternalMappingSuite
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-52029][SQL] Support external field-id to column-name mapping for Parquet [spark]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #50819: [SPARK-52029][SQL] Support external field-id to column-name mapping for Parquet
URL: https://github.com/apache/spark/pull/50819


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-52029][SQL] Support external field-id to column-name mapping for Parquet [spark]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #50819:
URL: https://github.com/apache/spark/pull/50819#issuecomment-3193061816

   We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
   If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org