asfimport commented on issue #405:
URL: https://github.com/apache/parquet-format/issues/405#issuecomment-2184154128

   [Xuwei 
Fu](https://issues.apache.org/jira/browse/PARQUET-2222?#comment-17730992) / 
@mapleFU:
   @gszadovszky Hi Gabor maybe I'm misleading.
   
   1. RLE for Boolean is just implemented a few month ago by me. I guess Legacy 
writer cannot write use RLE.
   2. For RL/DL, in parquet-cpp, only RLE can be used.
   
   In arrow-rs, I found the code below
   ```Java
   
   /// RLE/Bit-Packing hybrid encoding for values.
   /// Currently is used only for data pages v2 and supports boolean types.
   pub struct RleValueEncoder<T: DataType> {
       // Buffer with raw values that we collect,
       // when flushing buffer they are encoded using RLE encoder
       encoder: Option<RleEncoder>,
       _phantom: PhantomData<T>,
   }
   ```
   I guess it only supports Page V2 and format V2.  @tustvold  am I right?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to