Skip to content

Commit

Permalink
ESQL: Add simple count all test (elastic#119098)
Browse files Browse the repository at this point in the history
This adds an unfiltered, simple count() agg test.
  • Loading branch information
bpintea authored Jan 9, 2025
1 parent 2153cac commit 6ac1ecb
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,15 @@ null | 1950
null | 1960
;

countAllOnly
from employees | stats c = count()
;

c:l
100
;


countFieldNoGrouping
from employees | where emp_no < 10050 | stats c = count(salary);

Expand Down

0 comments on commit 6ac1ecb

Please sign in to comment.