public static void dropPartition(
      HMSClientPool hmsClient, MixedTable mixedTable, Partition hivePartition) {
    try {
      hmsClient.run(
          client -> {
            PartitionDropOptions options =
                PartitionDropOptions.instance()
                    .deleteData(false)
                    .ifExists(true)
                    .purgeData(false)
                    .returnResults(false);
            return client.dropPartition(
                mixedTable.id().getDatabase(),
                mixedTable.id().getTableName(),
                hivePartition.getValues(),
                options);
          });
    } catch (TException | InterruptedException e) {
      throw new RuntimeException(e);
    }
  }
Change the Hive partition location.

@param hiveClient Hive client from MixedHiveCatalog
@param tableIdentifier A table identifier
@param partition A Hive partition name
@param newPath Target partition location
amoro-format-mixed/amoro-mixed-hive/src/main/java/org/apache/amoro/hive/utils/HivePartitionUtil.java