presto-main/src/main/java/io/prestosql/cost/StatisticRange.java/StatisticRange/addAndMaxDistinctValues
class StatisticRange:    public StatisticRange addAndMaxDistinctValues(StatisticRange other)
    {
        double newDistinctValues = max(distinctValues, other.distinctValues);
        return new StatisticRange(minExcludeNaN(low, other.low), maxExcludeNaN(high, other.high), newDistinctValues);
    }