apache / apache/datafusion

[Question] Skip Partial stage aggregation stage for sorted input

Open
#15,002 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

If the input is sorted by the group keys can't we just skip partial aggregation stage?

Contributor guide

Open the contributing guide

Research direction

Review the aggregation planning and execution path in DataFusion, starting with how sorted group-key input is represented and how the partial aggregation stage is selected. Determine the correctness and performance criteria for skipping that stage; done means the issue has a decided design and corresponding implementation and validation plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.