VictoriaMetrics/vendor/github.com
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
..
alecthomas/units vendor: run make vendor-update 2023-12-11 10:48:47 +02:00
aws vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
Azure/azure-sdk-for-go/sdk vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
AzureAD/microsoft-authentication-library-for-go vendor: run make vendor-update 2024-02-24 03:23:56 +02:00
bboreham/go-loser vendor: run make vendor-update 2024-02-24 03:23:56 +02:00
beorn7/perks app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:18:39 +02:00
bmatcuk/doublestar/v4 vendor: run make vendor-update 2023-10-31 20:20:07 +01:00
cespare/xxhash/v2 vendor: run make vendor-update 2024-04-11 09:46:29 +02:00
cheggaaa/pb/v3 vendor: run make vendor-update 2024-01-26 22:59:59 +01:00
cpuguy83/go-md2man/v2 vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
davecgh/go-spew vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
dennwc/varint vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
ergochat/readline app/vlogscli: add interactive command-line tool for querying VictoriaLogs 2024-10-01 12:24:53 +02:00
fatih/color vendor: run make vendor-update 2024-05-22 21:58:53 +02:00
felixge/httpsnoop vendor: run make vendor-update 2023-11-13 18:54:33 +01:00
go-kit/log vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
go-logfmt/logfmt vendor: make vendor-update 2023-01-31 11:05:11 -08:00
go-logr vendor: run make vendor-update 2024-05-22 21:58:53 +02:00
gogo/protobuf vendor: run make vendor-update 2023-09-07 12:35:42 +02:00
golang vendor: run make vendor-update 2024-07-27 13:52:55 +02:00
golang-jwt/jwt/v5 vendor: run make vendor-update 2024-03-06 21:24:55 +02:00
google tests: integration tests for vmsingle (#7434) 2024-11-07 13:25:01 +01:00
googleapis vendor: run make vendor-update 2024-07-27 13:52:55 +02:00
grafana/regexp vendor: run make vendor-update 2024-05-22 21:58:53 +02:00
influxdata/influxdb vendor: run make vendor-update 2024-01-16 22:48:46 +02:00
jmespath/go-jmespath go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:39:22 +02:00
jpillora/backoff vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
json-iterator/go vendor: run make vendor-update 2023-09-07 12:35:42 +02:00
klauspost/compress vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
kylelemons/godebug vendor: run make vendor-update 2023-07-07 00:05:50 -07:00
mattn vendor: run make vendor-update 2024-07-27 13:52:55 +02:00
modern-go vendor: run make vendor-update 2023-09-07 12:35:42 +02:00
munnerz/goautoneg vendor: run make vendor-update 2024-07-03 00:00:23 +02:00
mwitkow/go-conntrack vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
oklog/ulid app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:18:39 +02:00
pkg/browser vendor: run make vendor-update 2024-02-24 03:23:56 +02:00
pmezard/go-difflib vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
prometheus vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
rivo/uniseg vendor: run make vendor-update 2024-02-12 22:31:41 +02:00
russross/blackfriday/v2 go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:39:22 +02:00
stretchr/testify vendor: run make vendor-update 2024-03-06 21:24:55 +02:00
urfave/cli/v2 vendor: run make vendor-update 2024-07-27 13:52:55 +02:00
valyala app/vlinsert: adds journald ingestion support 2024-10-27 20:42:41 +01:00
VictoriaMetrics app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
VividCortex/ewma go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:39:22 +02:00
xrash/smetrics vendor: run make vendor-update 2024-01-16 22:48:46 +02:00