Add undrop_database for hive catalog
@@ -33,6 +33,8 @@ use common_meta_app::schema::RenameTableReq;
use common_meta_app::schema::TableIdent;
use common_meta_app::schema::TableInfo;
use common_meta_app::schema::TableMeta;
+use common_meta_app::schema::UndropDatabaseReply;
+use common_meta_app::schema::UndropDatabaseReq;
use common_meta_app::schema::UndropTableReply;
use common_meta_app::schema::UndropTableReq;
use common_meta_app::schema::UpdateTableMetaReply;
@@ -112,6 +114,12 @@ impl Catalog for HiveCatalog {
))
}
+ async fn undrop_database(&self, _req: UndropDatabaseReq) -> Result<UndropDatabaseReply> {
+ Err(ErrorCode::UnImplement(
+ "Cannot undrop database in HIVE catalog",
+ ))
+ }
+
async fn rename_database(&self, _req: RenameDatabaseReq) -> Result<RenameDatabaseReply> {
Err(ErrorCode::UnImplement(
"Cannot rename database in HIVE catalog",
