From 56d64963190e02ca34d6e8e87ca8663cd57d54f9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sat, 27 Apr 2024 20:36:02 +0200 Subject: [PATCH] wip --- lib/logstorage/parser_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/logstorage/parser_test.go b/lib/logstorage/parser_test.go index d4b04f5c1..62605dd86 100644 --- a/lib/logstorage/parser_test.go +++ b/lib/logstorage/parser_test.go @@ -826,12 +826,12 @@ func TestParseQuerySuccess(t *testing.T) { // multiple skip pipes f(`foo | skip 10 | skip 100`, `foo | skip 10 | skip 100`) - // stats count pipe + // stats pipe count f(`* | Stats count() AS foo`, `* | stats count() as foo`) f(`* | STATS bY (foo, b.a/r, "b az") count(*) XYz`, `* | stats by (foo, "b.a/r", "b az") count(*) as XYz`) f(`* | stats by() COUNT(x, 'a).b,c|d') as qwert`, `* | stats count(x, "a).b,c|d") as qwert`) - // stats uniq pipe + // stats pipe uniq f(`* | stats uniq(foo) bar`, `* | stats uniq(foo) as bar`) f(`* | stats by(x, y) uniq(foo,bar) as baz`, `* | stats by (x, y) uniq(foo, bar) as baz`)