ajantha-bhat commented on code in PR #9877:
URL: https://github.com/apache/iceberg/pull/9877#discussion_r1514493828


##########
nessie/src/main/java/org/apache/iceberg/nessie/NessieIcebergClient.java:
##########
@@ -380,6 +389,10 @@ public boolean removeProperties(Namespace namespace, 
Set<String> properties) {
   }
 
   private boolean updateProperties(Namespace namespace, Consumer<Map<String, 
String>> action) {
+    if (namespace.isEmpty()) {
+      // As creating empty namespaces is not supported
+      throw new IllegalArgumentException("Does not support empty namespace");

Review Comment:
   fixed. 



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