alamb commented on code in PR #10725:
URL: https://github.com/apache/arrow-rs/pull/10725#discussion_r3806727415
##########
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:
The checks above say 32 bits is the max, but this assert allows 64 -- why
the discrepancy?
--
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]