Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query disappears in data explorer when changing time range #16369

Closed
desa opened this issue Dec 31, 2019 · 2 comments · Fixed by #16404
Closed

Query disappears in data explorer when changing time range #16369

desa opened this issue Dec 31, 2019 · 2 comments · Fixed by #16404
Assignees

Comments

@desa
Copy link
Contributor

desa commented Dec 31, 2019

disapearing-query

To reproduce

  1. switch to data explorer
  2. enter the query
from(bucket: "_monitoring")
 |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
 |> filter(fn: (r) => r._measurement == "statuses" and r._field == "_message")
 |> keep(columns: ["_time", "_value", "_check_id", "_check_name", "_level"])
 |> window(every: 1s, timeColumn: "_time", startColumn: "_start", stopColumn: "_stop")
 |> group(columns: ["_start", "_stop"])
 |> filter(fn: (r) => r["_check_id"] == "undefined")
 |> rename(columns: {"_time": "time",
                     "_value": "message",
                     "_check_id": "checkID",
                     "_check_name": "checkName",
                     "_level": "level"})
  1. change the time range
@desa
Copy link
Contributor Author

desa commented Dec 31, 2019

It seems like it resets to the state of the query builder
defaults-to-de-state

@asalem1
Copy link
Contributor

asalem1 commented Jan 3, 2020

This seems to have been broken with this PR:

#16226

On this line:

https://github.com/influxdata/influxdb/pull/16226/files#diff-afb81e9ccfb919d0134e48bd7176aa6bR770

Currently investigating why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants