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

fix: added parameter to rename aliases of aggregated columns used in GROUP BY statments #29455

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Corrected documentation of attribute allows_alias_in_orderby
Fredrik Hyyrynen committed Jun 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 2281a738113d990d250a703938cd2a40cbb15fc0
4 changes: 2 additions & 2 deletions superset/db_engine_specs/README.md
Original file line number Diff line number Diff line change
@@ -152,15 +152,15 @@ Superset will try to use aliases whenever possible, in order to give friendly na

### `allows_alias_in_orderby = True`

Does the DB support referencing alias in the `GROUP BY`, eg:
Does the DB support referencing alias in the `ORDER BY`, eg:

```sql
SELECT
UPPER(country_of_origin) AS country
COUNT(*) AS cnt
FROM
some_table
GROUP BY
ORDER BY
country
```