ggershinsky commented on code in PR #9359:
URL: https://github.com/apache/iceberg/pull/9359#discussion_r1434752900


##########
core/src/main/java/org/apache/iceberg/avro/Avro.java:
##########
@@ -91,6 +92,13 @@ public static WriteBuilder write(OutputFile file) {
     return new WriteBuilder(file);
   }
 
+  public static WriteBuilder write(EncryptedOutputFile file) {
+    Preconditions.checkState(
+        file.keyMetadata() == null || file.keyMetadata() == 
EncryptionKeyMetadata.EMPTY,
+        "Currenty, encryption of data files in Avro format is not supported");

Review Comment:
   SGTM



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to