[
https://issues.apache.org/jira/browse/PARQUET-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115820#comment-15115820
]
Deepak Majeti commented on PARQUET-462:
---------------------------------------
The main idea is to prevent code duplication between Definition and Repetition
Levels.
The Levels class will have a single get() implementation that returns a level
value. Since the Levels are RLE encoded as of now, I plan to extend the
RleDecoder class.
I can also add a pointer to your int16_t* buffer and necessary set/get methods.
Are you planning to incorporate a parallel algorithm for RLE decoding ? If not,
we can just use the existing get() method to populate the int16_t* buffer or
expand the get() implementation to return a batch of levels.
Will this scheme work in the context of PARQUET-435 ?
> Create a new Level class for definition and repetition values
> -------------------------------------------------------------
>
> Key: PARQUET-462
> URL: https://issues.apache.org/jira/browse/PARQUET-462
> Project: Parquet
> Issue Type: Improvement
> Components: parquet-cpp
> Reporter: Deepak Majeti
>
> This class extends the RleDecoder class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)