diff --git a/presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StringStatisticsBuilder.java b/presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StringStatisticsBuilder.java index 09bd33db1980..5173959f8c2c 100644 --- a/presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StringStatisticsBuilder.java +++ b/presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StringStatisticsBuilder.java @@ -50,12 +50,6 @@ private StringStatisticsBuilder(int stringStatisticsLimitInBytes, long nonNullVa this.sum = sum; } - public StringStatisticsBuilder withStringStatisticsLimit(int limitInBytes) - { - checkArgument(limitInBytes >= 0, "limitInBytes is less than 0"); - return new StringStatisticsBuilder(limitInBytes, nonNullValueCount, minimum, maximum, sum); - } - public long getNonNullValueCount() { return nonNullValueCount;