public static List<FieldSchema> hivePartitionFields(Schema schema, PartitionSpec spec) {
    return org.apache.iceberg.hive.HiveSchemaUtil.convert(
        TypeUtil.select(schema, spec.identitySourceIds()));
  }
Converts the Iceberg partition spec to a Hive partition fields list.

@param schema The original Iceberg schema to convert
@param spec The original Iceberg partition spec to convert
@return The Hive column list generated from the Iceberg schema
amoro-format-mixed/amoro-mixed-hive/src/main/java/org/apache/amoro/hive/utils/HiveSchemaUtil.java