Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-43039

Support custom fields in the file source _metadata column

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • Spark Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            ryan.johnson@databricks.com Ryan Johnson
            ryan.johnson@databricks.com Ryan Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: