scovich commented on code in PR #8602:
URL: https://github.com/apache/arrow-rs/pull/8602#discussion_r2430372713
##########
parquet/src/encodings/rle.rs:
##########
@@ -513,7 +513,10 @@ impl RleDecoder {
self.rle_left = (indicator_value >> 1) as u32;
let value_width = bit_util::ceil(self.bit_width as usize, 8);
self.current_value =
bit_reader.get_aligned::<u64>(value_width);
- assert!(self.current_value.is_some());
+ assert!(
+ self.current_value.is_some(),
+ "parquet_data_error: not enough data for RLE decoding"
+ );
Review Comment:
arrow-57 looms... we have a chance to make a breaking change here if it
would help. I don't think it's even a breaking change tho, being an internal
method?
--
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]