apache / apache/datafusion

Optimize order of file opening to match query

Open
#16,555 1 comment 1 reaction 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?

Since we now have dynamic predicate pushdown from TopK operators and file statistics by default it makes sense that we use those statistics if available to optimize the order we scan files in.

Context: https://github.com/apache/datafusion/issues/16402#issuecomment-3005250264

Contributor guide

Open the contributing guide

Research direction

Start with the linked context in issue 16402, then trace the existing dynamic predicate pushdown from TopK operators and the file-statistics path. The change is complete when available statistics influence file scan order and the relevant query behavior is covered by tests, though this issue names no specific files or test targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering, performance
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.