Feature Request / Improvement
ParquetAvroWriter.WriteBuilder does not override variant(...), so it inherits the default implementation from ParquetTypeVisitor, which returns null.
During struct writer construction, that null field writer is wrapped with ParquetValueWriters.option(...) for OPTIONAL fields, and OptionWriter dereferences writer.columns(), causing a NullPointerException during writer construction.
Although being only used in tests, ParquetAvroWriter is still a public API, so it would be nice to fix the NPE.
Query engine
None
Willingness to contribute
Feature Request / Improvement
ParquetAvroWriter.WriteBuilderdoes not overridevariant(...), so it inherits the default implementation fromParquetTypeVisitor, which returnsnull.During struct writer construction, that null field writer is wrapped with
ParquetValueWriters.option(...)for OPTIONAL fields, andOptionWriterdereferenceswriter.columns(), causing aNullPointerExceptionduring writer construction.Although being only used in tests,
ParquetAvroWriteris still a public API, so it would be nice to fix the NPE.Query engine
None
Willingness to contribute