Structsยง
- Distinct
Percentile ๐Cont Accumulator - The distinct percentile_cont accumulator accumulates the raw input values using a HashSet to eliminate duplicates.
- Percentile
Cont - PERCENTILE_CONT aggregate expression. This uses an exact calculation and stores all values in memory before computing the result. If an approximation is sufficient then APPROX_PERCENTILE_CONT provides a much more efficient solution.
- Percentile
Cont ๐Accumulator - The percentile_cont accumulator accumulates the raw input values as native types.
- Percentile
Cont ๐Groups Accumulator - The percentile_cont groups accumulator accumulates the raw input values
Constantsยง
- INTERPOLATION_
PRECISION ๐ - Precision multiplier for linear interpolation calculations.
Functionsยง
- calculate_
percentile ๐ - Calculate the percentile value for a given set of values. This function performs an exact calculation by sorting all values.
- percentile_
cont - Computes the exact percentile continuous of a set of numbers
- percentile_
cont_ udaf - AggregateFunction that returns a
AggregateUDFforPercentileCont