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 grouping aggregate function in the SQL planner #2477

Closed
Tracked by #474
andygrove opened this issue May 7, 2022 · 0 comments · Fixed by #2486
Closed
Tracked by #474

Add support for grouping aggregate function in the SQL planner #2477

andygrove opened this issue May 7, 2022 · 0 comments · Fixed by #2486
Assignees
Labels
enhancement New feature or request

Comments

@andygrove
Copy link
Member

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I would like to be able to run queries with grouping sets (such as ROLLUP and CUBE) that also use the grouping aggregate function. As described in the Spark reference guide, grouping(col) indicates whether a specified column in a GROUP BY is aggregated or not, returns 1 for aggregated or 0 for not aggregated in the result set.",

Describe the solution you'd like
Implement the grouping() aggregate function in the SQL planner.

Describe alternatives you've considered
None

Additional context
None

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

Successfully merging a pull request may close this issue.

1 participant