rok commented on code in PR #7459:
URL: https://github.com/apache/arrow-rs/pull/7459#discussion_r2070366562


##########
parquet/tests/encryption/encryption.rs:
##########
@@ -43,14 +43,25 @@ use std::sync::Arc;
 fn test_non_uniform_encryption_plaintext_footer() {
     let test_data = arrow::util::test_util::parquet_test_data();
     let path = 
format!("{test_data}/encrypt_columns_plaintext_footer.parquet.encrypted");
-    let file = File::open(path).unwrap();
+    let file = File::open(path.clone()).unwrap();
 
     // There is always a footer key even with a plaintext footer,
     // but this is used for signing the footer.
     let footer_key = "0123456789012345".as_bytes(); // 128bit/16
     let column_1_key = "1234567890123450".as_bytes();
     let column_2_key = "1234567890123451".as_bytes();
 
+    let decryption_properties = 
FileDecryptionProperties::builder(footer_key.to_vec())

Review Comment:
   Agreed. I'll generate such a file as I work on #7439 and will try to add it 
to [parquet-testing](https://github.com/apache/parquet-testing).
   



-- 
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

Reply via email to