Ryan Johnson created SPARK-42683:
------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]