Trino Functions
Qdigest Functions
qdigest_agg
Returns the qdigest which is composed of all input values of x.
Supported Signatures
quantile_at_value
Returns the approximate quantile number between 0 and 1 from the quantile digest given an input value. Null is returned if the quantile digest is empty or the input value is outside of the range of the quantile digest.
Supported Signatures
value_at_quantile
Returns the approximate percentile value from the quantile digest given the number quantile between 0 and 1.
Supported Signatures
values_at_quantiles
Returns the approximate percentile values as an array given the input quantile digest and array of values between 0 and 1 which represent the quantiles to return.
Supported Signatures