VictoriaMetrics/app
Nikolay 8357c22cc8
Some checks are pending
build / Build (push) Waiting to run
CodeQL Go / Analyze (push) Waiting to run
main / lint (push) Waiting to run
main / test (test-full) (push) Blocked by required conditions
main / test (test-full-386) (push) Blocked by required conditions
main / test (test-pure) (push) Blocked by required conditions
main / integration-test (push) Blocked by required conditions
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
..
victoria-logs
vlinsert
vlogscli
vlogsgenerator
vlselect
vlstorage
vmagent app/vmagent: respect Pushgateway protocol in multi-tenant vmagent handler (#7571) 2024-11-20 18:37:35 +01:00
vmalert vmalert: remove deprecated cmd-line flags -datasource.lookback, `da… (#6779) 2024-11-21 15:23:49 +01:00
vmalert-tool
vmauth
vmbackup
vmbackupmanager
vmctl app/vmctl: add command-line flag list to doc 2024-11-14 18:21:15 +01:00
vmgateway
vminsert
vmrestore
vmselect app/vmselect: properly return binary pow function result (#7619) 2024-11-21 15:23:49 +01:00
vmstorage
vmui