private static double median(@NotNull DescriptiveStatistics data) {
    return new Median().evaluate(data.getValues());
  }
Get median value for given statistics.
@param data collected datapoints.
@return median value.
standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/BenchmarkSuite.java