limit¶
Type of operation: Filter
Description¶
Select the first count
rows based on the current ordering of the input and
filter out the rest. If there is no ordering specified a random set of count
rows are returned. This verb does not work for resources, which should be
filtered using topk
.
Usage¶
limit count
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
count |
int64 |
no |
no |
none |
Accelerable¶
limit is never accelerable. A dataset that only uses accelerable verbs can be accelerated, making queries on the dataset respond faster.
Examples¶
limit 100
Returns at most 100 rows from the input, based on the current ordering.