Skip to content

Commit 57e3bcd

Browse files
authored
ESQL: Add simple count all test (elastic#119098) (elastic#119816)
This adds an unfiltered, simple count() agg test.
1 parent b74e700 commit 57e3bcd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/stats.csv-spec

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,15 @@ null | 1950
931931
null | 1960
932932
;
933933

934+
countAllOnly
935+
from employees | stats c = count()
936+
;
937+
938+
c:l
939+
100
940+
;
941+
942+
934943
countFieldNoGrouping
935944
from employees | where emp_no < 10050 | stats c = count(salary);
936945

0 commit comments

Comments
 (0)