public static void mergeCatalogProperties(CatalogMeta meta, Map<String, String> properties) {
    if (meta.getCatalogProperties() == null) {
      meta.setCatalogProperties(Maps.newHashMap());
    }
    if (properties != null) {
      properties.forEach(meta::putToCatalogProperties);
    }
  }
Merge catalog properties in client side into catalog meta.
amoro-common/src/main/java/org/apache/amoro/utils/CatalogUtil.java