public static HyperLogLog createHll(double... values) {
    HyperLogLog hll = HyperLogLog.builder().build();
    Arrays.stream(values).forEach(hll::addDouble);
    return hll;
  }
Creates an HLL object initialized with the given values.
@param values the values to be added
@return an HLL object initialized with the given values.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/StatisticsTestUtils.java