[Delta] Pass Base Snapshot through table write path to replace Kernel Snapshot primitives #7782
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.31) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 112 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.283
Real PR Conversation Timeline
1 comments
"Review active on #7782"
general
weight: 0.35
huan233usc
Description
Threads the Delta
Snapshotthrough the DSv2 connector's write and metadata-only delete paths instead of passing low-level Kernel snapshot types around. Schema, protocol, and table size are read through theSnapshotfacade, and the underlying Kernel snapshot is unwrapped only where a Kernel transaction requires it.Also:
Option[Long]->OptionalLongconversion helper.How was this patch tested?
Existing and updated unit tests for the DSv2 write/delete paths (
DeltaV2WriteTest,DeltaV2BatchWriteTest,DeltaV2StreamingWriteTest,DeltaV2WriteContextTest,DeltaV2BatchWriteContextTest,ScalaUtilsTest, and the metadata-only delete tests), which now load the snapshot throughPathBasedSnapshotManager.Does this PR introduce _any_ user-facing change?
No.