Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
We currently have two pairs of equivalent compressor/decompressor interfaces in CompressionCodecFactory and CodecFactory. CompressionCodecFactory.BytesInputCompressor/Decompressor is located in parquet-common, while CodecFactory.BytesCompressor/Decompressor is part of parquet-hadoop and deprecated. Currently, a lot of methods use the deprecated CodecFactory interfaces instead of the CompressionCodecFactory ones. As CodecFactory.BytesCompressor/Decompressor already implements CompressionCodecFactory.BytesInputCompressor/Decompressor, this is a straight-forward change which does not introduce any breaking changes or harm backwards compatibility.