tdigest_combine#

Description#

Combine (merge) multiple t-digest values together This function is purely an aggregate function.

Return type#

tdigest

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#

Usage#

tdigest_combine(inputExpr)

Argument

Type

Optional

Repeatable

Restrictions

inputExpr

tdigest

no

no

none

Examples#

statsby state:tdigest_combine(tdigest_col), group_by(^Cluster...)

Combine tdigest values of tdigest_col (of type tdigest) into one tdigest state, per Cluster.