Skip to content

fix(scan): use scalar global indexes in append table scans - #1524

Open
lyne7-sc wants to merge 1 commit into
apache:mainfrom
lyne7-sc:fix/append-scalar-index-scan
Open

lyne7-sc wants to merge 1 commit into
apache:mainfrom
lyne7-sc:fix/append-scalar-index-scan

Conversation

@lyne7-sc

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #1523

Batch scans on unbucketed, row-tracked append tables skip scalar global indexes. Use the existing scalar scan path to prune nonmatching rows in indexed data and preserve matches in unindexed data by default.

Brief change log

  • Enable scalar index row-range pruning for eligible append batch scans.
  • Keep splits with no index matches until row positions have been assigned, then intersect the slice with the index ranges.

Tests

  • Enable scalar index row-range pruning for eligible append batch scans.
  • Keep splits with no index matches until row positions have been assigned, then intersect the slice with the index ranges.

API and Format

No public API or storage format changes.

Documentation

No documentation changes.

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.

[Bug] Append table scans ignore scalar global indexes

1 participant