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

Optimizing queries with multiple aggregations where one Is aggregating on DISTINCT #1320

Open
xudong963 opened this issue Nov 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@xudong963
Copy link
Member

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Inspired by #1315, I think we can also do the optimization.

Describe the solution you'd like
Ref: https://www.qubole.com/blog/presto-optimizes-aggregations-over-distinct-values/

Describe alternatives you've considered
No

Additional context
Related PR: #1315

@xudong963 xudong963 added the enhancement New feature or request label Nov 17, 2021
andygrove added a commit to andygrove/datafusion that referenced this issue Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant