[ 
https://issues.apache.org/jira/browse/SPARK-42683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-42683:
------------------------------------

    Assignee:     (was: Apache Spark)

> Automatically rename metadata columns that conflict with data schema columns
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-42683
>                 URL: https://issues.apache.org/jira/browse/SPARK-42683
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.3.2, 3.4.0
>            Reporter: Ryan Johnson
>            Priority: Major
>
> Today, if a datasource already has a column called `_metadata`, queries 
> cannot access the file-source metadata column that normally carries that 
> name. We can address this conflict with two changes to metadata column 
> handling:
>  # Automatically rename any metadata column whose name conflicts with a data 
> schema column
>  # Add a facility to reliably find metadata columns by their original/logical 
> name, even if they were renamed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to