flux icon indicating copy to clipboard operation
flux copied to clipboard

yield produces no rows when rows should exist

Open wolffcm opened this issue 7 years ago • 2 comments

In this query:

from(bucket: "telegraf")
|> range(start: -20s)
|> filter(fn: (r) => r._measurement == "cpu" and r._field == "usage_user")
|> yield(name: "foo")
|> group(columns: ["cpu"])

The output for foo has a bunch of empty tables and the output for _result appears to have the correct answer for the query. Strangely the output for _result appears first. Are the results supposed to return in alphabetical order?

This bug was found as the workaround for this issue: https://github.com/influxdata/flux/issues/628

wolffcm avatar Jan 07 '19 15:01 wolffcm

@wolffcm The results are not sorted in any order.

nathanielc avatar Jan 07 '19 16:01 nathanielc

This issue has had no recent activity and will be closed soon.

github-actions[bot] avatar Sep 24 '24 01:09 github-actions[bot]