MAXK
This page describes the MAXK function in Lenses SQL.
MAXK(numExpr, N)Returns the N largest values of a numExpr.
Available in:
Processor (stateless)
Processors (stateful)
SQL Studio
✓
Sample code:
USE `kafka`;
SELECT MAXK(total)
FROM orders-eventsOutput:
{
"value": {
"MAXK": [
99.92
]
}
}Last updated
Was this helpful?

