VictoriaMetrics/vendor/github.com/VictoriaMetrics
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
..
easyproto vendor/github.com/VictoriaMetrics/easyproto: update from v0.1.3 to v0.1.4 2024-01-16 21:14:03 +02:00
fastcache vendor: update github.com/VictoriaMetrics/fastcache from v1.12.1 to v1.12.2 2023-11-24 13:39:32 +02:00
metrics vendor: update github.com/VictoriaMetrics/metrics from v1.35.0 to v1.35.1 2024-07-16 13:18:49 +02:00
metricsql app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00