Skip to content

perf(layout): add empty-range fast paths in chunked reader#6513

Open
caicancai wants to merge 1 commit intovortex-data:developfrom
caicancai:perf/chunked-reader-empty-range-fastpath
Open

perf(layout): add empty-range fast paths in chunked reader#6513
caicancai wants to merge 1 commit intovortex-data:developfrom
caicancai:perf/chunked-reader-empty-range-fastpath

Conversation

@caicancai
Copy link
Contributor

@caicancai caicancai commented Feb 14, 2026

This PR short-circuits empty row_range in ChunkedReader across split/pruning/filter/projection paths. It improves boundary-case performance in scenarios where planning/splitting or upstream pruning produces empty work units (e.g. split boundaries, highly selective filters), by avoiding unnecessary chunk iteration, async task setup, and result collection.
Behavior for non-empty ranges is unchanged.

Signed-off-by: cancaicai <2356672992@qq.com>
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