public static Map<String, String> mergeCatalogPropertiesToTable(
      Map<String, String> tableProperties, Map<String, String> catalogProperties) {
    Map<String, String> mergedProperties =
        catalogProperties.entrySet().stream()
            .filter(e -> e.getKey().startsWith(CatalogMetaProperties.TABLE_PROPERTIES_PREFIX))
            .collect(
                Collectors.toMap(
                    e ->
                        e.getKey()
                            .substring(CatalogMetaProperties.TABLE_PROPERTIES_PREFIX.length()),
                    Map.Entry::getValue));
    mergedProperties.putAll(tableProperties);
    return mergedProperties;
  }
merge properties of table level in catalog properties to table(properties key start with
table.)

@param tableProperties properties in table
@param catalogProperties properties in catalog
@return merged table properties
amoro-common/src/main/java/org/apache/amoro/utils/CatalogUtil.java