You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Martin Radev (JIRA)" <ji...@apache.org> on 2019/07/11 13:40:00 UTC

[jira] [Created] (PARQUET-1622) Adding an encoding for FP data

Martin Radev created PARQUET-1622:
-------------------------------------

             Summary: Adding an encoding for FP data
                 Key: PARQUET-1622
                 URL: https://issues.apache.org/jira/browse/PARQUET-1622
             Project: Parquet
          Issue Type: Wish
          Components: parquet-cpp, parquet-format, parquet-mr, parquet-thrift
            Reporter: Martin Radev


Apache Parquet does not have any encodings suitable for FP data and the available text compressors (zstd, gzip, etc) do not handle FP data very well.

It is possible to apply a simple data transformation named "stream splitting". Such could be "byte stream splitting" which creates K streams of length N where K is the number of bytes in the data type (4 for floats, 8 for doubles) and N is the number of elements in the sequence.

The transformed data compresses significantly better on average than the original data and for some cases there is a performance improvement in compression and decompression speed.

You can read a more detailed report here:
https://drive.google.com/file/d/1wfLQyO2G5nofYFkS7pVbUW0-oJkQqBvv/view



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)