public static MixedFormatCatalog load(String catalogUrl, Map<String, String> properties) {
    AmsThriftUrl url = AmsThriftUrl.parse(catalogUrl, Constants.THRIFT_TABLE_SERVICE_NAME);
    if (url.catalogName() == null || url.catalogName().contains("/")) {
      throw new IllegalArgumentException("invalid catalog name " + url.catalogName());
    }

    return loadCatalog(catalogUrl, url.catalogName(), properties);
  }
Entrypoint for loading Catalog.

@param catalogUrl mixed-format catalog url, thrift://ams-host:port/catalog_name
@param properties client side catalog configs
@return mixed-format catalog object
amoro-format-iceberg/src/main/java/org/apache/amoro/mixed/CatalogLoader.java