Take

take

Alias for limit. Returns up to the specified number of rows from the input.

Spec

... | 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
| take 5
val
1
2
3
4
5