PERCENTILE

The PERCENTILE aggregation function calculates a configured number of percentiles from numerical values, based on each input element.

See Also
RESULT SET
AGGREGATE
GROUP BY
Choose Where to Apply Aggregations
Parameter Description
Filter expressionAn expression to keep some elements only. It is useful to process the aggregation on a subpart of your input stream.
Expression Extracts the numerical value of each element of the input stream. For example, person.income if your input is a stream of persons.

Default: identity function.

Percentiles Specify the number of percentiles. For example, [75]

The output contains all defined percentile values.

To be more precise, the output type is a

List<Tuple<percentile: Integer, value: Float>> with percentile ∈ \[1 , 99\]

The number of elements in the output list corresponds to the number of percentiles defined in the operator configuration.