@VisibleForTesting
  static void fillPartitionProperties(
      MixedTable table, MixedHiveCatalog mixedHiveCatalog, Table hiveTable) {
    UnkeyedHiveTable baseTable;
    if (table.isKeyedTable()) {
      baseTable = (UnkeyedHiveTable) table.asKeyedTable().baseTable();
    } else {
      baseTable = (UnkeyedHiveTable) table.asUnkeyedTable();
    }
    UpdatePartitionProperties updatePartitionProperties = baseTable.updatePartitionProperties(null);
    if (table.spec().isUnpartitioned()) {
      if (hasPartitionProperties(baseTable, false, null)) {
        return;
      }
      updatePartitionProperties.set(
          TablePropertyUtil.EMPTY_STRUCT,
          HiveTableProperties.PARTITION_PROPERTIES_KEY_HIVE_LOCATION,
          baseTable.hiveLocation());
      updatePartitionProperties.set(
          TablePropertyUtil.EMPTY_STRUCT,
          HiveTableProperties.PARTITION_PROPERTIES_KEY_TRANSIENT_TIME,
          hiveTable.getParameters().get("transient_lastDdlTime"));
    } else {
      List<Partition> partitions =
          HivePartitionUtil.getHiveAllPartitions(mixedHiveCatalog.getHMSClient(), table.id());
      partitions.forEach(
          partition -> {
            StructLike partitionData =
                HivePartitionUtil.buildPartitionData(partition.getValues(), table.spec());
            if (hasPartitionProperties(baseTable, true, partitionData)) {
              return;
            }
            updatePartitionProperties.set(
                partitionData,
                HiveTableProperties.PARTITION_PROPERTIES_KEY_HIVE_LOCATION,
                partition.getSd().getLocation());
            updatePartitionProperties.set(
                partitionData,
                HiveTableProperties.PARTITION_PROPERTIES_KEY_TRANSIENT_TIME,
                partition.getParameters().get("transient_lastDdlTime"));
          });
    }
    updatePartitionProperties.commit();
  }
Check whether the storage format is supported.

@param hiveClient Hive client from MixedHiveClient
@param tableIdentifier A table identifier
@return Support or not
amoro-format-mixed/amoro-mixed-hive/src/main/java/org/apache/amoro/hive/utils/UpgradeHiveTableUtil.java