etseidl commented on code in PR #10725:
URL: https://github.com/apache/arrow-rs/pull/10725#discussion_r3807387090
##########
parquet/src/encodings/rle.rs:
##########
@@ -361,6 +361,7 @@ pub struct RleDecoder {
impl RleDecoder {
pub fn new(bit_width: u8) -> Self {
+ debug_assert!(bit_width <= 64, "Bit width must be <= 64");
Review Comment:
I think it's somehow related to delta binary, which uses bit packing up to
64 bits. But the current delta decoder doesn't use `RleDecoder` and instead
uses `BitReader` directly. Kind of confusing.
--
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]