[BUG] Fix Delta 4.3 INSERT write constructor compatibility [databricks] #16366
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 292 lines diff across 3 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
Diff Size
diff_size
0.340
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16366"
general
weight: 0.35
sdrp713
Fixes #16365.
Description
With RAPIDS Delta writes enabled,
INSERT INTOandINSERT OVERWRITEon Delta Lake 4.3.0 fail withNoSuchMethodErrorwhen the GPU V1 fallback writer constructsWriteIntoDelta.Delta43xProviderinherits a factory compiled against an older constructor signature. Added a Delta 4.3 specific override so the constructor and default arguments resolve against Delta 4.3. Carried forward the Delta 4.2 hooks for DeltaLog selection, catalog metadata, cache invalidation, and catalog refresh.Expand regression coverage to ten append/overwrite cases covering:
Validation:
Performance was measured locally on Spark 4.1.1 and Delta 4.3.0 by comparing two builds from the same source revision:
createWriteIntoDeltaoverride, keeping the inherited DeltaLog, catalog, and cache behavior.The original build fails these writes, so this comparison measures the incremental cost of the additional hooks.
Using 10 measured writes per case after warm-up, median append latency was 647 to 648 ms, overwrite was 699 to 727 ms, cached append was 981 to 1,101 ms, and cached overwrite was 1,089 to 1,195 ms.
Checklists
Documentation
Testing
(Please provide the names of the existing tests in the PR description.)
Performance