RussellSpitzer commented on code in PR #7275:
URL: https://github.com/apache/iceberg/pull/7275#discussion_r1189160664


##########
docs/spark-ddl.md:
##########
@@ -140,6 +140,47 @@ AS SELECT ...
 The schema and partition spec will be replaced if changed. To avoid modifying 
the table's schema and partitioning, use `INSERT OVERWRITE` instead of `REPLACE 
TABLE`.
 The new table properties in the `REPLACE TABLE` command will be merged with 
any existing table properties. The existing table properties will be updated if 
changed else they are preserved.
 
+## `DROP NAMESPACE`
+
+### `DROP EMPTY NAMESPACE`
+
+To drop an _empty_ namespace, run:
+
+```sql
+DROP database prod.db.sample
+```
+If the namespace is not empty, this will fail with 
_NamespaceNotEmptyException_.
+
+
+### `DROP NON_EMPTY NAMESPACE`
+
+To drop a namespace and all its contents including tables, run:
+
+```sql
+DROP TABLE prod.db.sample CASCADE

Review Comment:
   Should this be table? or database?



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