approx_top

XQL_function_descriptions.json

Synopsis

approx_top (field: string, number: int, [weight_field: string])

Description

Returns the approximate top elements for a column. When a third parameter is specified, it references a column that contains a numeric value (weight) that will be used to calculate a sum.