uddsketch. The correct (non-estimated) percentile falls within the range defined
by approx_percentile(sketch) +/- (approx_percentile(sketch) * error(sketch)).
Arguments
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| sketch | UddSketch | - | The uddsketch to determine the error of |
Returns
| Column | Type | Description |
|---|---|---|
| error | DOUBLE PRECISION | The maximum relative error of any percentile estimate |
Samples
Calculate the maximum relative error when estimating percentiles usinguddsketch.