parquet-java icon indicating copy to clipboard operation
parquet-java copied to clipboard

ParquetProperties should not use static ValuesWriterFactory

Open asfimport opened this issue 7 years ago • 0 comments

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.

asfimport avatar May 17 '18 14:05 asfimport