@Override
    protected PercentileCalculator<DoubleWritable> getCalculator() {
      return new PercentileDiscDoubleCalculator();
    }
The evaluator for discrete percentile computation based on double.
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFPercentileDisc.java