public static CatalogMeta loadMeta(String catalogUrl) {
    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());
    }
    AmsClient client = new PooledAmsClient(catalogUrl);
    try {
      return client.getCatalog(url.catalogName());
    } catch (TException e) {
      throw new IllegalStateException("failed when load catalog " + url.catalogName(), e);
    }
  }
Load catalog meta from metastore.

@param catalogUrl - catalog url
@return catalog meta
amoro-format-iceberg/src/main/java/org/apache/amoro/mixed/CatalogLoader.java