smaheshwar-pltr commented on code in PR #14659:
URL: https://github.com/apache/iceberg/pull/14659#discussion_r2553284533
##########
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java:
##########
@@ -321,7 +323,8 @@ protected void doCommit(TableMetadata base, TableMetadata
metadata) {
}
if (removedProps.contains(TableProperties.ENCRYPTION_TABLE_KEY)) {
- throw new RuntimeException("Cannot remove key in encrypted table");
+ throw new IllegalArgumentException(
Review Comment:
This follows the discussion
https://github.com/apache/iceberg/pull/13225#discussion_r2505907913. To me,
`IllegalArgumentException` makes sense
--
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]