Arguments
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| value | DOUBLE PRECISION | - | The value to estimate the percentile of | |
| digest | TDigest | - | The tdigest aggregate |
Returns
| Column | Type | Description |
|---|---|---|
| approx_percentile_rank | DOUBLE PRECISION | The estimated percentile associated with the provided value |
Samples
Estimate the percentile rank of the value99, given a sample containing the numbers from 0 to 100.