Loading...
This page describes the MAXK function in Lenses SQL.
MAXK(numExpr, N)
Returns the N largest values of a numExpr.
Available in:
Sample code:
USE `kafka`; SELECT MAXK(total) FROM orders-events
Output:
{ "value": { "MAXK": [ 99.92 ] } }
✓