Skip to content

[core] Avoid unnecessary deletion vector I/O for empty selections - #10470

Merged
JingsongLi merged 1 commit into
apache:masterfrom
lilei1128:optimize-reduce-io
Oct 9, 2026
Merged

JingsongLi merged 1 commit into
apache:masterfrom
lilei1128:optimize-reduce-io

Conversation

@lilei1128

Copy link
Copy Markdown
Contributor

Purpose

  • Check the File Index bitmap against the requested row ranges before reading the deletion vector.
  • Skip opening and reading the deletion vector sidecar when the selections have no intersection.
  • Apply this optimization to single files and aligned merged groups while reusing the existing File Index results.

Tests

  • Add a single-file regression test that removes the DV sidecar and verifies an empty selection still succeeds.
  • Add a merged-group regression test that removes the DV sidecar and verifies an empty selection still succeeds.

@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit 84ffc3a into apache:master Oct 9, 2026
18 checks passed
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.

2 participants