tdigest_agg(value: numeric or duration) -> tdigest of float64

Generate a single t-digest state out of an arbitrary number of numeric values. This function is purely an aggregate function.

Domain

This is an aggregate function (aggregates rows over a group in aggregate verbs).

This is a window function (calculates over a group of multiple input rows using windowing).

Categories

Examples

statsby state:tdigest_agg(float_col), group_by()

Aggregates all rows of float_col into a single t-digest representation (presented as a JSON object).