etseidl commented on code in PR #7369:
URL: https://github.com/apache/arrow-rs/pull/7369#discussion_r2023563754
##########
parquet/src/file/metadata/reader.rs:
##########
@@ -710,7 +710,11 @@ impl ParquetMetaDataReader {
));
}
- Ok((self.decode_footer_metadata(&meta, &footer)?, None))
+ // need to slice off the footer or decryption fails
+ Ok((
+ self.decode_footer_metadata(&meta.slice(0..length), &footer)?,
Review Comment:
I haven't yet tested that...I don't know if suffix reading paired with
encryption has been tested before now. Certainly this PR triggered it due to a
change in how the async reader gets its bytes.
--
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]