prometheus/promql
Thomas Jackson f0003bc0ba
Don't drop ParenExpr when creating StepInvariantExpr (#9591)
* Add test case to showcase the problem in #9590

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>

* Don't unwrap ParenExpr in newStepInvariantExpr

Fixes #9590

Signed-off-by: Thomas Jackson <jacksontj.89@gmail.com>
2021-11-10 20:16:24 +05:30
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
testdata promql: Add more test cases for `histogram_quantile` 2021-10-20 16:15:44 +02:00
bench_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
engine.go Don't drop ParenExpr when creating StepInvariantExpr (#9591) 2021-11-10 20:16:24 +05:30
engine_test.go Don't drop ParenExpr when creating StepInvariantExpr (#9591) 2021-11-10 20:16:24 +05:30
functions.go Don't drop ParenExpr when creating StepInvariantExpr (#9591) 2021-11-10 20:16:24 +05:30
functions_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
fuzz.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
promql_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
quantile.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
query_logger.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
query_logger_test.go tests: Move from t.Errorf and others. (Part 2) (#9309) 2021-09-13 21:19:20 +02:00
test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
test_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00