mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 15:16:42 +00:00
wip
This commit is contained in:
parent
bd70c94a27
commit
22e14a3dbe
1 changed files with 16 additions and 0 deletions
|
@ -134,6 +134,22 @@ func TestPipeMath(t *testing.T) {
|
|||
},
|
||||
})
|
||||
|
||||
f("math abs(-min(a,b)) as min, max(b,c) as max", [][]Field{
|
||||
{
|
||||
{"a", "v1"},
|
||||
{"b", "2"},
|
||||
{"c", "3"},
|
||||
},
|
||||
}, [][]Field{
|
||||
{
|
||||
{"a", "v1"},
|
||||
{"b", "2"},
|
||||
{"c", "3"},
|
||||
{"min", "2"},
|
||||
{"max", "3"},
|
||||
},
|
||||
})
|
||||
|
||||
f("math round((2*c + (b%c))/(c-b)^(b-1), 0.001) as a", [][]Field{
|
||||
{
|
||||
{"a", "v"},
|
||||
|
|
Loading…
Reference in a new issue