From d2fa0f0c510f2443abaf20c819fc0cba2c9fe88e Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 30 May 2024 15:19:04 +0200 Subject: [PATCH] wip --- lib/logstorage/parser_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/logstorage/parser_test.go b/lib/logstorage/parser_test.go index 7391781ee..702db4678 100644 --- a/lib/logstorage/parser_test.go +++ b/lib/logstorage/parser_test.go @@ -941,9 +941,9 @@ func TestParseQuerySuccess(t *testing.T) { f(`* | stats min(foo,*,bar) x`, `* | stats min(*) as x`) // stats pipe row_min - f(`* | stats fields_Min(foo) bar`, `* | stats row_min(foo) as bar`) - f(`* | fields_Min(foo)`, `* | stats row_min(foo) as "row_min(foo)"`) - f(`* | stats BY(x, y, ) fields_MIN(foo,bar,) bar`, `* | stats by (x, y) row_min(foo, bar) as bar`) + f(`* | stats row_Min(foo) bar`, `* | stats row_min(foo) as bar`) + f(`* | row_Min(foo)`, `* | stats row_min(foo) as "row_min(foo)"`) + f(`* | stats BY(x, y, ) row_MIN(foo,bar,) bar`, `* | stats by (x, y) row_min(foo, bar) as bar`) // stats pipe avg f(`* | stats Avg(foo) bar`, `* | stats avg(foo) as bar`)