You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2023/04/12 03:04:00 UTC
[jira] [Assigned] (SPARK-43039) Support custom fields in the file source _metadata column
[ https://issues.apache.org/jira/browse/SPARK-43039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan reassigned SPARK-43039:
-----------------------------------
Assignee: Ryan Johnson
> 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
> Assignee: Ryan Johnson
> Priority: Major
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org