Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
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
- links to