mapleFU commented on issue #15107: URL: https://github.com/apache/arrow/issues/15107#issuecomment-1367275504
Hey, I found an problem when trying to implement RLE for boolean. * Our Rle implement is in `src/arrow/util/rle_encoding.h`, the `RleEncoder` requires pre-compute the bytes it needs. * Current encoding uses `LevelEncoder::Init` and `LevelEncoder::Encode` or `DictEncoderImpl::WriteIndices` to write all data at once So, should I: * Change `rle_encoding` to use a grow-able buffer? * Buffer all input in RleBooleanEncoder, and write it all-once? * Using other workaround? Any idea here? (I can write a Buffer all input version first) -- 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]
