You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@parquet.apache.org by "Selfeer (via GitHub)" <gi...@apache.org> on 2024/11/07 21:39:55 UTC
[I] Is it possible to apply specific encodings on specific columns with ParquetWriter? [parquet-java]
Selfeer opened a new issue, #3051:
URL: https://github.com/apache/parquet-java/issues/3051
### Describe the usage question you have. Please include as many useful details as possible.
I'm working on a tool that generates parquet files based on the file definition provided in JSON. I use the paruqet-java library for that and am curious if it is possible to choose a specific type of encoding on specific columns when generating a file.
### Component(s)
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org
Re: [I] Is it possible to apply specific encodings on specific columns with ParquetWriter? [parquet-java]
Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac commented on issue #3051:
URL: https://github.com/apache/parquet-java/issues/3051#issuecomment-2479028978
It seems that we can only control dictionary encoding and byte stream split encoding via ParquetProperties: https://github.com/apache/parquet-java/blob/master/parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java.
Other encoding types are enabled via WriterVersion: https://github.com/apache/parquet-java/blob/master/parquet-column/src/main/java/org/apache/parquet/column/values/factory/DefaultValuesWriterFactory.java
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org