xanderbailey opened a new pull request, #2584:
URL: https://github.com/apache/iceberg-rust/pull/2584

   ## Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   - Working towards https://github.com/apache/iceberg-rust/issues/2034
   
   We're currently not able to decrypt PME encrypted files, all that's needed 
for this PR is to wire through the key_metadata from the manifest entries into 
the scan tasks and then configure the parquet reader with the correct 
encryption key and aad.
   
   It's important to note that no encryption manager is needed here since the 
key_metadata on the manifest files contain the plaintext keys.
   
   ## What changes are included in this PR?
   
   <!--
   Provide a summary of the modifications in this PR. List the main changes 
such as new features, bug fixes, refactoring, or any other updates.
   -->
   
   ## Are these changes tested?
   
   Tests follow the pattern on manually writing an encrypted parquet file using 
the raw arrow-rs writer and then using the FileScanTask and iceberg reader to 
read that tmp file. 
   
   I looked at using the [parquet testing 
repo](https://github.com/apache/parquet-testing) but the encrypted files there 
all use column based encryption which isn't supported by the spec. I'll 
separately track adding some files there that we can use here but the testing 
strategy here is consistent with how Java does things so I think this should be 
sufficient for us to continue. 
   <!--
   Specify what test covers (unit test, integration test, etc.).
   
   If tests are not included in your PR, please explain why (for example, are 
they covered by existing tests)?
   -->


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to