approx_quantiles

XQL_function_descriptions.json

Synopsis

approx_quantiles (field: string, number: int, distinct: bool)

Description

Returns the approximate boundaries for a group of values of the specified column, where the second param represents the number of quantiles to create. When a third param is specified, it indicates whether the function must calculate only distinct values.