Skip to content

refactor: centralize dataset version policies - #8027

Draft
Xuanwo wants to merge 2 commits into
xuanwo/exact-version-stack-09-selector-ownershipfrom
xuanwo/exact-version-stack-10-dataset-operations
Draft

refactor: centralize dataset version policies#8027
Xuanwo wants to merge 2 commits into
xuanwo/exact-version-stack-09-selector-ownershipfrom
xuanwo/exact-version-stack-10-dataset-operations

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Part 10/12 of #7877. Depends on #8026.

This is an independently reviewable step toward the final layout demonstrated in #7979.

This PR completes the dataset-level policy boundary. Reads, scans, take, schema evolution, statistics, binary copy, fragment rewriting, conflict resolution, and operation commits delegate through exact V1/V2.0/V2.1/V2.2/V2.3 policies instead of checking file versions throughout dataset and table code.

Shared execution remains shared where behavior is identical; only behavior that actually differs is isolated behind the version modules. A small exact-to-selector bridge remains temporarily at the index boundary so this PR is independently compilable. Part 11 removes that bridge and makes index consumers exact end to end.

Validation:

  • fragment write-version tests
  • binary-copy test matrix
  • dataset overlay masking tests
  • cargo clippy --all --tests --benches -- -D warnings

@github-actions github-actions Bot added the A-encoding Encoding, IO, file reader/writer label Jul 27, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant