Limit
limit / take
Returns up to the specified number of rows from the input. take is an alias for limit.
Spec
... | limit <count>
... | take <count> Parameters
count - The maximum number of rows to return (int64). Return Value
At most <count> rows from the input. Example
range val from 1 to 100 step 1
| limit 5 | val |
|---|
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |