[ 
https://issues.apache.org/jira/browse/PARQUET-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224848#comment-15224848
 ] 

Ryan Blue commented on PARQUET-574:
-----------------------------------

Wes, Parquet Java will only write booleans using RLE for 2.0, so to be safe I 
think we should consider it 2.0. But, I don't think readers would have a 
problem with it because RLE is part of the 1.0 spec and most of the time the 
encoding should be interchangeable.

> Boolean format in Plain Decoder 
> --------------------------------
>
>                 Key: PARQUET-574
>                 URL: https://issues.apache.org/jira/browse/PARQUET-574
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: Fabrizio Milo
>            Priority: Trivial
>
> In the encoding.md document is written that the plain encoder for boolean 
> uses 
> [RLE/BitPacking](https://github.com/apache/parquet-format/blob/master/Encodings.md#plain-plain--0)
>  
> While in the cpp implementation seems is just using [simple bit decoding back 
> to 
> back.](https://github.com/apache/parquet-cpp/blob/master/src/parquet/encodings/plain-encoding.h#L151)
> Which one is the right format ? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to