Allow Delta Lake 4.3.1 and 4.3.2.2 in the Delta 4.3 runtime shim #17166
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 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.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #17166"
general
weight: 0.35
firestarman
Fixes #17032.
Description
Ports #17033 from
release/26.10tomain.A Spark 4.1.1 deployment using Delta Lake 4.3.2.2 fails to initialize the Delta provider because the 4.3 runtime shim accepts only
4.3.0. Extend the Delta 4.3 version allowlist from only4.3.0to the tested releases (4.3.0,4.3.1, and4.3.2.2) across the supported Spark 4.0.1, 4.0.5, 4.1.1, and 4.1.4 versions onmainso those releases select the existing Delta 4.3 shim while untested4.3.xreleases fall back toNoDeltaProvider. The plugin continues to compile against Delta 4.3.0.Auditing upstream Delta Lake changes from 4.3.0 to 4.3.1 identified one GPU/CPU metadata parity gap: Delta 4.3.1 (delta-io/delta#7126) filters the reserved DSv2
is_managed_locationproperty out of committed Delta table metadata inAbstractDeltaCatalog.createDeltaTable.GpuDeltaCatalogBasenow mirrors this filtering for Delta4.3.1and4.3.2.2viaDeltaRuntimeShim.filterIsManagedLocationProperty, while preserving exact CPU parity on Delta 3.3 through 4.3.0.Compared with #17033 on
release/26.10, thismainport additionally:main's Spark4.0.5and4.1.4support matrix and#17155's Delta 4.4+ guard..github/workflows/delta43-unit-tests.ymlto runDeltaRuntimeShimSuiteon both Delta4.3.0and4.3.1with-Ddelta43.spark.plugins="spark.plugins= ,"for CPU-only GitHub Actions runners, while keepingSQLPluginenabled by default for local and Blossom serial/parallel GPU runs.main's Delta 4.3 selective-replacement unit tests inDeltaRuntimeShimSuiteto accept all allowlisted 4.3 versions, and renamesis_oss_delta_lake_43tois_supported_oss_delta_lake_43across all Delta Python integration tests (includingdelta_lake_v2_read_test.py).DeltaRuntimeShimSuiteintojenkins/spark-premerge-build.sh(ci_scala213) for Spark 4.0.1 + Delta 4.3.0 and Spark 4.1.1 + Delta 4.3.1, alignsjenkins/spark-tests.shto select Delta 4.3.1 on Spark 4.1.1 and 4.1.4 while keeping 4.3.0 on Spark 4.0.1 and 4.0.5, and updatesdocs/additional-functionality/delta-lake-selective-replacement.md.Validation (Java 17)
bash -n,shellcheck -S error,py_compile, and./build/make-scala-version-build-files.sh 2.13sync passed.buildver=411, Scala 2.13): built and installed 18 modules throughtests;DeltaRuntimeShimSuitepassed 24/24 (0 canceled) on both Delta 4.3.0 and Delta 4.3.1 in CPU-only mode (CUDA_VISIBLE_DEVICES=""with the exact.github/workflows/delta43-unit-tests.ymlcommand), 24/24 (0 canceled) in GPU serial mode (defaultSQLPluginenabled) on Delta 4.3.1, and 24/24 (0 canceled) in GPU parallel mode (-Drapids.parallelUnitTests=true) on Delta 4.3.1.buildver=401, Scala 2.13):DeltaRuntimeShimSuitepassed 23/23 (1 expected Spark 4.1-only case canceled) on Delta 4.3.0 via the exact Blossomci_scala213command (-Drapids.parallelUnitTests=true); default Delta 4.2.0 passed 17/17 (DeltaProbeImplSuite+DeltaRuntimeShimSuite, 12 expected Delta 4.3 cases canceled).main-specific Delta 4.3 GPU integration tests against Delta 4.3.1: fulldelta_lake_v2_read_test.pypassed 91/91, targeted selective replacement tests (replaceUsing/replaceOn) indelta_lake_write_test.pypassed 11/11, all 8 modified Delta test files collected cleanly (2,059 tests),test_oss_delta_lake_version_classifierspassed 13/13, andrun_unity_catalog_server.shconfirmed rejecting--delta-version 4.3.2. Upstreamdelta-io/deltav4.3.0...v4.3.1(5 commits) confirmed no changes toDeltaInsertReplaceOnOrUsingCommand,DeltaV2Table,SparkScan, orServerSidePlannedScan.Performance
Carried over from #17033 (measured on
release/26.10; not re-run onmain26.12.0-SNAPSHOT), NDS SF100 Delta and SF100store_saleswrite benchmarks on Spark 4.1.1 (local[16], 1x RTX PRO 4500 32 GB, 2 interleaved rounds after page-cache warmup; identical runtime shim andis_managed_locationproperty-filtering logic):330.23 s(geomean2,134.0 ms) vs PR + Delta 4.3.0331.10 s(+0.26%) vs PR + Delta 4.3.1330.44 s(+0.06%sum /-0.11%geomean).store_saleswrites (288M rows):update(-0.63%/+1.91%),delete(+0.49%/+1.22%),merge(+1.47%/+2.12%),compact(+0.55%/+0.36%),liquid_cluster(-1.17%/-1.92%), andctas(+4.14%/+6.09%, cold-JIT first query of each JVM, ~0.3–0.5 s variance).AI assistance from Codex and Devin was used to prepare and validate this port.
Checklists
Documentation
Testing
Performance