Ryan Blue created PARQUET-543:
---------------------------------
Summary: Remove BoundedInt encodings
Key: PARQUET-543
URL: https://issues.apache.org/jira/browse/PARQUET-543
Project: Parquet
Issue Type: Improvement
Components: parquet-mr
Affects Versions: 1.8.1
Reporter: Ryan Blue
The classes in org.apache.parquet.column.values.boundedint aren't used. It
looks like this was intended to be the "right" way to use the RLE/BitPacking
hybrid, but callers ended up instantiating the RLE encoder or writer directly.
The ZeroIntegerValuesReader and DevNullValuesWriter are used, but should be
relocated. The ZeroIntegerValuesReader is only used when the encoding is RLE
(in
[Encoding.java|https://github.com/apache/parquet-mr/blob/master/parquet-column/src/main/java/org/apache/parquet/column/Encoding.java#L119])
and the DevNullValuesWriter actually writes BIT_PACKED values. It would be
better to relocate those classes in the rle and bitpacking packages.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)