QUANTILE_TDIGEST
Introduced or updated: v1.2.41
Computes an approximate quantile of a numeric data sequence using the t-digest algorithm.
caution
NULL values are not included in the calculation.
Syntax
QUANTILE_TDIGEST(<level1>[, <level2>, ...])(<expr>)
Arguments
Arguments | Description |
---|---|
<level n> | A level of quantile represents a constant floating-point number ranging from 0 to 1. It is recommended to use a level value in the range of [0.01, 0.99]. |
<expr> | Any numerical expression |