public static String getCompatibleStorageType(Map<String, String> conf) {
    if (CatalogMetaProperties.STORAGE_CONFIGS_VALUE_TYPE_HDFS_LEGACY.equals(
        conf.get(CatalogMetaProperties.STORAGE_CONFIGS_KEY_TYPE))) {
      return CatalogMetaProperties.STORAGE_CONFIGS_VALUE_TYPE_HADOOP;
    }
    return conf.get(CatalogMetaProperties.STORAGE_CONFIGS_KEY_TYPE);
  }
Get storage type compatible with history storage type `hdfs`, which is `Hadoop` now.

@param conf - configurations containing `storage.type`
@return storage type, return `Hadoop` if `storage.type` is `hdfs`, return null if
    `storage.type` not exist.
amoro-common/src/main/java/org/apache/amoro/utils/CatalogUtil.java