Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-2413

Support custom file footer metadata via ParquetWriter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.14.0
    • None
    • None

    Description

      Currently Parquet supports extra metadata keys passed via WriteContext. However, in practice these are limited to implementation-specific values (i.e. AvroWriteSupport adds a key containing the serialized Avro schema), and cannot be overridden or extended by the end user.

       

      Maybe we could extend the ParquetWriter builder to support this? For example:

       

      ```

      AvroParquetWriter.Builder<T> builder = AvroParquetWriter.<T>builder(outputFile)

          .withConf(...)

          .withPageSize(...)

      +  .withExtraMetadata(Map.of(..))

          .build()

      ```

      Attachments

        Issue Links

          Activity

            People

              clairemcginty Claire McGinty
              clairemcginty Claire McGinty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: