smaheshwar-pltr commented on code in PR #19203:
URL: https://github.com/apache/iceberg/pull/19203#discussion_r4734457207


##########
core/src/main/java/org/apache/iceberg/encryption/EncryptionUtil.java:
##########
@@ -116,7 +116,7 @@ public static EncryptionManager createEncryptionManager(
             TableProperties.ENCRYPTION_DEK_LENGTH,
             TableProperties.ENCRYPTION_DEK_LENGTH_DEFAULT);
 
-    Preconditions.checkState(
+    Preconditions.checkArgument(

Review Comment:
   Curious what folks think of these changes? This is technically a user-facing 
change for Hive users and callers, but I think it's justifiable. This came up 
when I was working on https://github.com/apache/iceberg/pull/18799.



##########
core/src/main/java/org/apache/iceberg/encryption/EncryptionUtil.java:
##########
@@ -116,7 +116,7 @@ public static EncryptionManager createEncryptionManager(
             TableProperties.ENCRYPTION_DEK_LENGTH,
             TableProperties.ENCRYPTION_DEK_LENGTH_DEFAULT);
 
-    Preconditions.checkState(
+    Preconditions.checkArgument(

Review Comment:
   Curious what folks think of these changes? This is technically a user-facing 
change for Hive users and callers, but I think it's justifiable, I left some 
notes in the PR description. This came up when I was working on 
https://github.com/apache/iceberg/pull/18799.



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