diff --git a/crates/iceberg/src/catalog/mod.rs b/crates/iceberg/src/catalog/mod.rs index 6a1572a4af..c59e6e4f05 100644 --- a/crates/iceberg/src/catalog/mod.rs +++ b/crates/iceberg/src/catalog/mod.rs @@ -67,7 +67,7 @@ pub trait Catalog: Debug + Sync + Send { properties: HashMap, ) -> Result<()>; - /// Drop a namespace from the catalog. + /// Drop a namespace from the catalog, or returns error if it doesn't exist. async fn drop_namespace(&self, namespace: &NamespaceIdent) -> Result<()>; /// List tables from namespace. @@ -83,7 +83,7 @@ pub trait Catalog: Debug + Sync + Send { /// Load table from the catalog. async fn load_table(&self, table: &TableIdent) -> Result; - /// Drop a table from the catalog. + /// Drop a table from the catalog, or returns error if it doesn't exist. async fn drop_table(&self, table: &TableIdent) -> Result<()>; /// Check if a table exists in the catalog.