PERCENTILE_APPROX
Returns an approximate percentile value using the t-digest algorithm.
Analyze Syntax
func.percentile_approx(get_column(table, 'response_time'), 0.95)
Analyze Examples
func.percentile_approx(get_column(table, 'response_time'), 0.95)
┌───────┐
│ 245.3 │
└───────┘
SQL Syntax
PERCENTILE_APPROX(<response_time>, 0.95)
SQL Examples
SELECT PERCENTILE_APPROX(response_time, 0.95) FROM requests;
┌───────┐
│ 245.3 │
└───────┘