VictoriaMetrics/vendor
Nikolay 8357c22cc8
app/vmselect: properly return binary pow function result (#7619)
Previously, for `^` aka pow function calls, VictoriaMetrics returned `1`
if left arg was Nan. For example, given query=`(hour()==2)^1` returns 1
for NaN produced by hour() == 2 function. It added additional non-exist
datapoints to the timeseries.

This commit port bugfix from `metricql` package and adds test for it.
Now, VictoriaMetrics
correctly returns `NaN` for such cases.

Related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7359

Signed-off-by: f41gh7 <nik@victoriametrics.com>
(cherry picked from commit bb399518db)
2024-11-21 15:23:49 +01:00
..
cloud.google.com/go vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
github.com app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
go.opencensus.io vendor: make vendor-update 2022-11-05 10:40:30 +02:00
go.opentelemetry.io vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
go.uber.org vendor: run make vendor-update 2023-10-31 20:20:07 +01:00
golang.org/x app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
google.golang.org vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
gopkg.in vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
k8s.io vendor: run make vendor-update 2024-09-08 21:05:23 +02:00
modules.txt app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00