public void dropNamespace(Context ctx) {
    String catalog = ctx.pathParam("catalog");
    String ns = ctx.pathParam("namespace");
    Preconditions.checkNotNull(ns, "namespace is null");
    checkUnsupported(!ns.contains("."), "multi-level namespace is not supported");
    InternalCatalog internalCatalog = getCatalog(catalog);
    internalCatalog.dropDatabase(ns);
  }
DELETE PREFIX/v1/catalogs/{catalog}/namespaces/{namespace}
amoro-ams/src/main/java/org/apache/amoro/server/RestCatalogService.java