kamcheungting-db commented on code in PR #14456:
URL: https://github.com/apache/iceberg/pull/14456#discussion_r2485412753


##########
core/src/main/java/org/apache/iceberg/inmemory/InMemoryCatalog.java:
##########
@@ -217,6 +217,12 @@ public boolean dropNamespace(Namespace namespace) throws 
NamespaceNotEmptyExcept
             "Namespace %s is not empty. Contains %d table(s).", namespace, 
tableIdentifiers.size());
       }
 
+      List<TableIdentifier> viewIdentifiers = listViews(namespace);
+      if (!viewIdentifiers.isEmpty()) {

Review Comment:
   out of curious, beside table and view, are there any other object can be 
inside namespace?
   For instance: function?



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