Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for COUNT #2285

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Add support for COUNT #2285

merged 2 commits into from
Feb 20, 2025

Conversation

joshua-spacetime
Copy link
Collaborator

Description of Changes

Support count queries such as SELECT COUNT(*) AS n FROM t

API and ABI breaking changes

None

Expected complexity level and risk

1

Note, there is a better way of supporting agg, but that required a larger diff, so I left a descriptive TODO in the code instead.

Testing

Parsing, optimization, and execution tests added

Copy link
Contributor

@mamcx mamcx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joshua-spacetime joshua-spacetime linked an issue Feb 20, 2025 that may be closed by this pull request
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Feb 20, 2025
Merged via the queue into master with commit aeaa7a4 Feb 20, 2025
14 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/sql-count branch February 20, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQL: Add aggregation to the query language
2 participants