xanderbailey commented on code in PR #4478:
URL: https://github.com/apache/iceberg-python/pull/4478#discussion_r4684329461


##########
pyiceberg/table/update/snapshot.py:
##########
@@ -164,6 +164,9 @@ def __init__(
         branch: str | None = MAIN_BRANCH,
     ) -> None:
         super().__init__(transaction)
+        from pyiceberg.encryption.manager import _reject_encrypted_writes
+
+        _reject_encrypted_writes(transaction.table_metadata)

Review Comment:
   I think this spot makes the most sense to block this, everything in the 
library goes through here today and hopefully we won't have to block this for 
long! 



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