Loading...
This page describes the FIRST function in Lenses SQL.
FIRST(expr)
Returns the first item seen in a group.
Available in:
Sample code:
USE `kafka`; SELECT FIRST(id) FROM orders-events
Output:
{ "value": { "FIRST": "d4e60554-260d-4f14-873a-9c0352ad9387" } }
✓