Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Add support for COUNT aggregate function. See SUM function in aggregates.rs for inspiration.
SQL parser should support COUNT(1) and COUNT ( * ) syntax for counting rows as well as COUNT(column_name) for counting non-null values for a column.
COUNT(DISTINCT expr) should be handled in a separate issue since it is more complex.