Skip to content

groupBy: push down limits when sorting on the group #1872

@gianm

Description

@gianm

@vogievetsky pointed out to me that it's possible to push down ordering + limits if you're sorting on the grouping tuple. This is because any tuple in the first N results overall is going to either be somewhere in the first N results from each segment, or not in that segment at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions