etseidl commented on code in PR #7372: URL: https://github.com/apache/arrow-rs/pull/7372#discussion_r2023737422
########## parquet/src/file/metadata/reader.rs: ########## @@ -710,7 +710,11 @@ impl ParquetMetaDataReader { )); } - Ok((self.decode_footer_metadata(&meta, &footer)?, None)) + Ok(( + // need to slice off the footer or decryption fails + self.decode_footer_metadata(&meta.slice(0..length), &footer)?, + None, Review Comment: Yes...without this change the added test fails. -- 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