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 GROUP BY ALL to the SQL engine #15585

Closed
lucazanna opened this issue Apr 10, 2024 · 0 comments · Fixed by #16179
Closed

Add GROUP BY ALL to the SQL engine #15585

lucazanna opened this issue Apr 10, 2024 · 0 comments · Fixed by #16179
Assignees
Labels
A-sql Area: Polars SQL functionality enhancement New feature or an improvement of an existing feature

Comments

@lucazanna
Copy link

lucazanna commented Apr 10, 2024

Description

a few SQL based databases / data warehouses support a GROUP BY ALL statement , which groups by all columns except aggregated columns (sum, etc)

this can speed up EDA work and can be a nice addition for Polars

Examples

BigQuery
https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#group_by_all

DuckDB
https://duckdb.org/docs/sql/query_syntax/groupby.html

Snowflake
https://docs.snowflake.com/en/sql-reference/constructs/group-by

based on discussion here #14704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql Area: Polars SQL functionality enhancement New feature or an improvement of an existing feature
Projects
None yet
2 participants