You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2023/04/10 03:17:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17710033#comment-17710033 ] 

Hyukjin Kwon commented on SPARK-43039:
--------------------------------------

https://github.com/apache/spark/pull/40677

> 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
>            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