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


##########
parquet/src/file/metadata/writer.rs:
##########
@@ -635,11 +636,17 @@ impl MetadataObjectWriter {
         }
     }
 
-    fn get_footer_encryption_algorithm(&self) -> Option<EncryptionAlgorithm> {
-        if let Some(file_encryptor) = &self.file_encryptor {
-            return 
Some(Self::encryption_algorithm_from_encryptor(file_encryptor));
+    fn get_plaintext_footer_metadata(&self) -> (Option<EncryptionAlgorithm>, 
Option<Vec<u8>>) {

Review Comment:
   Good point! Went with `get_plaintext_footer_crypto_metadata` and comment:
   ```rust
   // Only plaintext footers may contain encryption algorithm and footer key 
metadata.
   ```



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

Reply via email to