ParquetProperties should not use static ValuesWriterFactory
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.6k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 33
Description
`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](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vrozov) / @vrozov
#### Related issues:
- [Add support in Parquet to configure the encoding used by ValueWriters](https://github.com/apache/parquet-java/issues/1966) (is caused by)
**Note**: *This issue was originally created as [PARQUET-1302](https://issues.apache.org/jira/browse/PARQUET-1302). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.