uddsketch aggregate.
Samples
Estimate the value at the 90th, 50th, and 20th percentiles, given a sample containing the numbers from 0 to 100.Arguments
The syntax is:| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| percentiles | DOUBLE PRECISION[] | - | ✔ | array of percentiles to compute. Must be within the range [0.0, 1.0] |
| sketch | UddSketch | - | ✔ | the uddsketch aggregate |
Returns
| Column | Type | Description |
|---|---|---|
| approx_percentile_array | DOUBLE PRECISION[] | The estimated values at the requested percentiles. |