UddSketch. Internally, it calls uddsketch with 200 buckets and a maximum error rate of 0.001.
Use percentile_agg to create an intermediate aggregate from your raw data. This intermediate form can then be used by
one or more accessors in this group to compute final results.
Optionally, multiple such intermediate aggregate objects can be combined using rollup() before an accessor is applied.
Arguments
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| value | DOUBLE PRECISION | - | ✔ | column of values to aggregate for percentile calculation |
Returns
| Column | Type | Description |
|---|---|---|
| percentile_agg | UddSketch | a percentile estimator object created to calculate percentiles using the UddSketch algorithm |