Commit 6ef4046
committed
Document that PPL fetch_size limits aggregation buckets
fetch_size applies to the final rows of the query, so on an aggregating query
it limits the number of buckets returned rather than sampling documents. The
existing docs described it only as a row limit, which reads as DSL size --
where aggregation results are returned in full.
Contrast both DSL analogues: unlike terminate_after it does not corrupt
aggregate values, and unlike size it does truncate aggregation results.
Signed-off-by: Kai Huang <ahkcs@amazon.com>1 parent 79d532d commit 6ef4046
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
333 | 345 | | |
334 | 346 | | |
335 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments