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

promql: <scalar>-<compop>-<vector> returns vector with elements set to the scalar value #5452

Closed
juliusv opened this Issue Apr 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@juliusv
Copy link
Member

juliusv commented Apr 10, 2019

See e.g. http://demo.robustperception.io:9090/graph?g0.range_input=1h&g0.expr=1%20!%3D%20node_cpu_seconds_total&g0.tab=1

This should either return a query error or have the same output as if the scalar/vector sides were reversed.

juliusv added a commit that referenced this issue Apr 11, 2019

Fix scalar-vector comparisons
Fixes #5452

Signed-off-by: Julius Volz <julius.volz@gmail.com>

brian-brazil added a commit that referenced this issue Apr 11, 2019

Fix scalar-vector comparisons (#5454)
* Fix scalar-vector comparisons

Fixes #5452

Signed-off-by: Julius Volz <julius.volz@gmail.com>

beorn7 added a commit that referenced this issue Apr 15, 2019

Fix scalar-vector comparisons (#5454)
* Fix scalar-vector comparisons

Fixes #5452

Signed-off-by: Julius Volz <julius.volz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.