private static GenericRecord genericRecord(PartitionSpec spec) {
    List<String> collect =
        spec.fields().stream()
            .map(s -> spec.schema().findColumnName(s.sourceId()))
            .collect(Collectors.toList());
    return GenericRecord.create(spec.schema().select(collect));
  }
return the number of hours away from the epoch, reverse {@link TransformUtil#humanHour}
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/MixedDataFiles.java