apache / apache/datafusion

Enhance SortMergeJoinExec by implementing EagerJoinStream for the join

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

Description

### Is your feature request related to a problem or challenge?

For a more maintainable SortMergeJoinExec, we can implement the common logic with EagerJoinStream since it is quite similar to what is done there.

### Describe the solution you'd like

The state machine management of SortMergeJoinExec needs to be updated to align with the EagerJoinStream trait.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating SortMergeJoinExec and the EagerJoinStream trait, then compare how their state machines manage join progress. The work is complete when SortMergeJoinExec uses the common EagerJoinStream logic and its state management is aligned with that trait without changing the join's intended behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.