ebyhr commented on code in PR #16096:
URL: https://github.com/apache/iceberg/pull/16096#discussion_r3151157407


##########
spark/v4.1/spark/src/main/java/org/apache/iceberg/spark/SparkCatalog.java:
##########
@@ -483,6 +483,18 @@ public void alterNamespace(String[] namespace, 
NamespaceChange... changes)
   @Override
   public boolean dropNamespace(String[] namespace, boolean cascade)
       throws NoSuchNamespaceException {
+    if (cascade) {
+      for (String[] ns : listNamespaces(namespace)) {
+        dropNamespace(ns, true);
+      }

Review Comment:
   Do you mean views → tables → nested views → nested tables → all namespaces? 



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