Skip to content

feat: add column slice stitching - #8660

Open
Xuanwo wants to merge 2 commits into
mainfrom
xuanwo/column-slice-stitching
Open

feat: add column slice stitching#8660
Xuanwo wants to merge 2 commits into
mainfrom
xuanwo/column-slice-stitching

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

This implements the Rust storage-layer artifact stitching proposed in Discussion #8615. Long-running fragment-local rewrites can stage immutable physical row slices and publish only after exact, gap-free coverage has been validated against the fragment snapshot.

Compatible current-version files are concatenated by relocating encoded pages and regenerating metadata and the footer, while unsupported layouts use the existing ordered decode/re-encode fallback. Binary-copy compaction now delegates encoded-file compatibility and footer handling to the same primitive without adopting the column-slice lifecycle.

The public surface in this PR is intentionally Rust-only. Python and Java bindings are deferred until the contract has settled.

@github-actions github-actions Bot added A-encoding Encoding, IO, file reader/writer enhancement New feature or request labels Aug 20, 2026
lance-gatekeeper[bot]

This comment was marked as outdated.

@lance-gatekeeper lance-gatekeeper Bot added the K-changes Latest Gatekeeper recommendation requests changes. label Aug 20, 2026
@lance-gatekeeper lance-gatekeeper Bot removed the K-changes Latest Gatekeeper recommendation requests changes. label Aug 20, 2026

@lance-gatekeeper lance-gatekeeper Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gate recommendation: approve.

The revision closes the schema-metadata loss path across V2.0–V2.3 and restores stable row-ID loading for readers that add _rowid after opening. The encoded stitching path now preserves the relevant schema and row-identity contracts.

@lance-gatekeeper lance-gatekeeper Bot added K-approved Latest Gatekeeper recommendation permits acceptance. and removed K-approved Latest Gatekeeper recommendation permits acceptance. labels Aug 20, 2026
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-encoding Encoding, IO, file reader/writer enhancement New feature or request K-approved Latest Gatekeeper recommendation permits acceptance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant