VictoriaMetrics/vendor/golang.org/x/sys
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
..
cpu app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
plan9 app/vlogscli: add interactive command-line tool for querying VictoriaLogs 2024-10-01 12:24:53 +02:00
unix app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
windows app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
LICENSE lib/promscrape: fixes proxy autorization (#6783) 2024-08-19 22:50:39 +02:00
PATENTS all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00