public static HyperLogLog createHll(long... values) {
    HyperLogLog hll = HyperLogLog.builder().build();
    for (long value : values) {
      hll.addLong(value);
    }
    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