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

Support COUNT(*) for Aggregate COUNT function #3142

Open
bobbai00 opened this issue Dec 4, 2024 · 1 comment
Open

Support COUNT(*) for Aggregate COUNT function #3142

bobbai00 opened this issue Dec 4, 2024 · 1 comment
Assignees

Comments

@bobbai00
Copy link
Collaborator

bobbai00 commented Dec 4, 2024

Currently for aggregate operator, when selecting COUNT as the aggregation function, an attribute must be given. But in some use cases, there are no suitable attribute to select (e.g. there is no "primary key alike" attribute but users may want to count the occurance).

So a * attribute to support COUNT(*) should be useful.

@yunyad yunyad self-assigned this Jan 9, 2025
@yunyad
Copy link
Collaborator

yunyad commented Jan 19, 2025

We decided not to proceed with it for now for several reasons:

  1. The aggregate functionality includes many other options besides count, so it seems unreasonable to add it there.
  2. Since this is not urgent, we can find a better position for this functionality.

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

No branches or pull requests

2 participants