ClickHouse/docs/zh/sql-reference/aggregate-functions/reference/quantiles.md
2021-03-25 17:09:19 +08:00

442 B

toc_priority
201

quantiles

Syntax: quantiles(level1, level2, …)(x)

All the quantile functions also have corresponding quantiles functions: quantiles, quantilesDeterministic, quantilesTiming, quantilesTimingWeighted, quantilesExact, quantilesExactWeighted, quantilesTDigest. These functions calculate all the quantiles of the listed levels in one pass, and return an array of the resulting values.