Ted-Jiang commented on code in PR #2111: URL: https://github.com/apache/arrow-rs/pull/2111#discussion_r928273120
########## parquet/src/arrow/record_reader/definition_levels.rs: ########## @@ -248,7 +254,9 @@ struct PackedDecoder { impl PackedDecoder { fn next_rle_block(&mut self) -> Result<()> { - let indicator_value = self.decode_header()?; + let indicator_value = self + .decode_header() + .expect("decode_header fail in PackedDecoder"); Review Comment: Before met not set `decode_header ` when coding. Better have the error info. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org