parquet-java
parquet-java copied to clipboard
ParquetProperties should not use static ValuesWriterFactory
ParquetProperties by default is initialized with static ValuesWriterFactory, but during ParquetProperties construction ValuesWriterFactory is initialized with property. It means that if I construct two ParquetProperties with different properties (for example allocators), both will reference a static ValuesWriterFactory that would be initialized with the latest ParquetProperties. The same problem applies to DefaultValuesWriterFactory.
Reporter: Vlad Rozov / @vrozov
Related issues:
Note: This issue was originally created as PARQUET-1302. Please see the migration documentation for further details.