Gabriella Gyorgyevics has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22165


Change subject: Wrote the decoder and encoder for byte stream split encoding.
......................................................................

Wrote the decoder and encoder for byte stream split encoding.

At this point, the decoder should be finished, and the encoder
is functional but needs polishing.

The decoder can read one, or multiple values at a time.

The encoder adds values one by one, until there are no more
values to add, or the output given couldn't fit any more.
The encoding happens upon calling `FinalizePage()`

Created decoder tests for
* basic functionality,
* decoding values one by one
* decoding values in batch
* the stride feature
* skipping a number of values

Created encoder tests for
* basic functionality
* putting values in one by one
* finalizing the page

These tests are run on every supported type except for
fixed_len_byte_array.

Change-Id: Icea60894ae22b8ddb7616aeda6d69012cc69972c
---
M be/src/exec/parquet/CMakeLists.txt
A be/src/exec/parquet/parquet-byte-stream-split-decoder.cc
A be/src/exec/parquet/parquet-byte-stream-split-decoder.h
A be/src/exec/parquet/parquet-byte-stream-split-encoder.cc
A be/src/exec/parquet/parquet-byte-stream-split-encoder.h
A be/src/exec/parquet/parquet-byte-stream-split-test.cc
6 files changed, 859 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/65/22165/9
--
To view, visit http://gerrit.cloudera.org:8080/22165
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icea60894ae22b8ddb7616aeda6d69012cc69972c
Gerrit-Change-Number: 22165
Gerrit-PatchSet: 9
Gerrit-Owner: Gabriella Gyorgyevics <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Gabriella Gyorgyevics <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>

Reply via email to