public static CloseableIterable<PartitionStats> readPartitionStatsFile(
      Schema schema, InputFile inputFile) {
    CloseableIterable<StructLike> records = dataReader(schema, inputFile);
    return CloseableIterable.transform(records, PartitionStatsHandler::recordToPartitionStats);
  }
Reads partition statistics from the specified {@link InputFile} using given schema.

@param schema The {@link Schema} of the partition statistics file.
@param inputFile An {@link InputFile} pointing to the partition stats file.
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/data/PartitionStatsHandler.java