Skip to content

tp: add Sort and GroupBy operators to the executor - #7690

Draft
LalitMaganti wants to merge 1 commit into
dev/lalitm/intersect-any-keysfrom
dev/lalitm/exec-sort-group-by
Draft

LalitMaganti wants to merge 1 commit into
dev/lalitm/intersect-any-keysfrom
dev/lalitm/exec-sort-group-by

Conversation

@LalitMaganti

@LalitMaganti LalitMaganti commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Operators which need their input ordered should not order it themselves:
the plan should, so it can skip the work when the input is already in
order. These are the two operators it uses.

Sort sorts rows stably by numeric keys through RowLayout. GroupBy puts
rows with equal keys next to each other with a counting sort, keeping
their order within each group, and numbers the groups.

Operators which need their input ordered should not order it themselves:
the plan should, so it can skip the work when the input is already in
order. These are the two operators it uses.

Sort sorts rows stably by numeric keys through RowLayout. GroupBy puts
rows with equal keys next to each other with a counting sort, keeping
their order within each group, and numbers the groups.
@LalitMaganti
LalitMaganti added this pull request to stack #7680 September 29, 2026 23:53
@github-actions

Copy link
Copy Markdown

🎨 Perfetto UI Builds & Tests

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant