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

Allow multiple aggregated columns per query #504

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

dgeelen-uipath
Copy link
Contributor

@dgeelen-uipath dgeelen-uipath commented Jun 25, 2021

Note: this follows #499 (so some duplicate commits show up), but it doesn't seem possible to set the base branch correctly.

This enables the writing of queries like SELECT MIN(COLUMN), MAX(COLUMN), SUM(COLUMN) FROM TABLE. The existing behaviour for handling multiple COUNT() columns is preserved as a special case.

Following from #499, this renames the AsCount() to SelectCount(), which as pointed out in does something different. If AsCount() should be kept as-is, what would be a good way (name) to make the distinction between what AsCount() does vs. selecting aggregates of columns?

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.

None yet

1 participant