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