presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/LongDecimalStatisticsBuilder.java/LongDecimalStatisticsBuilder/addValue
class LongDecimalStatisticsBuilder:    public void addValue(BigDecimal value)
    {
        requireNonNull(value, "value is null");

        nonNullValueCount++;

        if (minimum == null) {
            minimum = value;
            maximum = value;
        }
        else {
            minimum = minimum.min(value);
            maximum = maximum.max(value);
        }
    }