kevinjqliu commented on code in PR #3930:
URL: https://github.com/apache/iceberg-python/pull/3930#discussion_r3992290445
##########
pyiceberg/table/metadata.py:
##########
@@ -125,6 +126,33 @@ def construct_refs(table_metadata: TableMetadata) ->
TableMetadata:
return table_metadata
+class EncryptedKey(IcebergBaseModel):
+ """A key used for table encryption, tracked in v3 metadata under
`encryption-keys`.
+
+ https://iceberg.apache.org/spec/#encryption-keys
+ """
+
+ key_id: str = Field(alias="key-id")
+ """ID of the encryption key."""
+
+ encrypted_key_metadata: bytes = Field(alias="encrypted-key-metadata")
Review Comment:
Yea that make sense, thanks for double checking. This is just an
implementation detail, we still expose as string when serialized
--
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]