FIRST
This page describes the FIRST function in Lenses SQL.
FIRST(expr)Returns the first item seen in a group.
Available in:
Processor (stateless)
Processors (stateful)
SQL Studio
✓
Sample code:
USE `kafka`;
SELECT FIRST(id)
FROM orders-eventsOutput:
{
"value": {
"FIRST": "d4e60554-260d-4f14-873a-9c0352ad9387"
}
}Last updated
Was this helpful?

