Scalar FunctionsOther Functions
percentile_array_tdigest
Extract a dynamic array of percentiles from a sketch aggregate produced by `tdigest()`.
Reuses the same serialized sketch (Propertybag) that
percentile_tdigest() reads — no new intermediate format.
Each entry in the percentiles array must be in [0, 100]; out-of-
range entries and sketches with no data produce NaN at the
corresponding output position.
Syntax
percentile_array_tdigest(sketch, percentiles)Parameters
Prop
Type
Returns: dynamic
Examples
Example 1
print percentile_array_tdigest(
toscalar(),
dynamic([50, 90, 99])
)| print_0 (dynamic) |
|---|
| [49.90296094906653,89.13032933635917,98.50457626879137] |