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

[jira] [Created] (SPARK-43039) Support custom fields in the file source _metadata column

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org