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

   <!--
   Thanks for opening a pull request!
   -->
   Working towards https://github.com/apache/iceberg-python/issues/3222
   <!-- In the case this PR will resolve an issue, please replace 
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
   <!-- Closes #${GITHUB_ISSUE_ID} -->
   
   # Rationale for this change
   Writes to a table with `encryption.key-id` now raise `NotImplementedError` 
until encrypted manifests and manifest lists are wired into commits. Otherwise, 
once v3 manifest writing (#3624) lands, a commit would write plaintext 
manifests, holding the data file keys, to an encrypted table.
   
   The check is in the snapshot producer, which writes the manifests, so it 
runs before any are written. Metadata-only updates are still allowed. 
iceberg-rust blocked encrypted writes the same way until they were fully 
supported (apache/iceberg-rust#2626).
   
   ## Are these changes tested?
   Yes, append, overwrite and delete raise on an encrypted table without 
writing any files, and a property update still works.
   
   ## Are there any user-facing changes?
   Writes to encrypted tables raise `NotImplementedError`.
   
   <!-- In the case of user-facing changes, please add the changelog label. -->
   


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