presto-hive/src/main/java/io/prestosql/plugin/hive/util/Statistics.java/Statistics/min
class Statistics:    private static <T extends Comparable<? super T>> T min(T first, T second)
    {
        return first.compareTo(second) <= 0 ? first : second;
    }