Ryan Johnson created SPARK-43039:
------------------------------------
Summary: Support custom fields in the file source _metadata column
Key: SPARK-43039
URL: https://issues.apache.org/jira/browse/SPARK-43039
Project: Spark
Issue Type: New Feature
Components: Spark Core
Affects Versions: 3.4.0
Reporter: Ryan Johnson
Today, the schema of the file source _metadata column depends on the file
format (e.g. parquet file format supports {{{}_metadata.row_index{}}}) but this
is hard-wired into the {{FileFormat}} itself. Not only is this an ugly design,
it also prevents custom file formats from adding their own fields to the
{{_metadata}} column.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]