presto-orc/src/main/java/io/prestosql/orc/OrcWriteValidation.java/OrcWriteValidation/createWriteStatisticsBuilder
class OrcWriteValidation:    public StatisticsValidation createWriteStatisticsBuilder(ColumnMetadata<OrcType> orcTypes, List<Type> readTypes)
    {
        checkArgument(readTypes.size() == orcTypes.get(ROOT_COLUMN).getFieldCount(), "statistics validation requires all columns to be read");
        return new StatisticsValidation(readTypes);
    }