Skip to content

SQL: Allow ordering of groups based on aggregates #35118

Closed
@costin

Description

@costin

Due to the way composite aggs are currently implemented, one can sort only by the its keys. This is limiting as a good portion of use cases need to do just that:
GROUP BY countries ORDER BY COUNT(*)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions