Skip to main content
Since 1.16.0 Return the N largest values seen by the aggregate. The values are formatted as an array in decreasing order.

Samples

Find the top 5 values from i * 13 % 10007 for i = 1 to 10000.
Output:

Arguments

The syntax is:

Returns