xanderbailey commented on code in PR #2918:
URL: https://github.com/apache/iceberg-rust/pull/2918#discussion_r3660971763
##########
crates/iceberg/src/test_utils.rs:
##########
@@ -98,3 +104,57 @@ pub fn check_record_batches(
.format(",\n")
));
}
+
+/// Build a table backed by the V3 encryption fixture and an in-memory KMS,
+/// so it has an [`EncryptionManager`](crate::encryption::EncryptionManager).
+///
+/// The fixture's snapshot references an encrypted manifest list; its bytes
+/// (the `manifest-list-v3-encrypted.avro` testdata, an encrypted empty list)
+/// are seeded into the in-memory `FileIO` at that path so callers can read
+/// the current snapshot's manifest list.
+pub async fn make_encrypted_table() -> Table {
Review Comment:
Moved from `crates/iceberg/src/transaction/mod.rs`
--
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]