added warning to group fn about sort order, closes #1129

pull/1130/head
Scott Anderson 2020-06-22 14:01:08 -06:00
parent ae81534fc6
commit 86fb65b0b1
1 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,13 @@ group(columns: ["_time"], mode:"except")
group()
```
{{% warn %}}
#### Group does not guarantee sort order
`group()` does not guarantee the sort order of output records.
To ensure data is sorted correctly, use [`sort()`](/v2.0/reference/flux/stdlib/built-in/transformations/sort/)
after `group()`.
{{% /warn %}}
## Parameters
### columns