presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/PartitionWithStatistics.java/PartitionWithStatistics/PartitionWithStatistics
class PartitionWithStatistics:    public PartitionWithStatistics(Partition partition, String partitionName, PartitionStatistics statistics)
    {
        this.partition = requireNonNull(partition, "partition is null");
        this.partitionName = requireNonNull(partitionName, "partitionName is null");
        checkArgument(toPartitionValues(partitionName).equals(partition.getValues()), "unexpected partition name: %s != %s", partitionName, partition.getValues());
        this.statistics = requireNonNull(statistics, "statistics is null");
    }