Allow Delta Lake 4.3.1 and 4.3.2.2 in the Delta 4.3 runtime shim #17033
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)).
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 #17033"
general
weight: 0.35
firestarman
Fixes #17032. This change targets
release/26.10.Description
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 only
4.3.0to the tested releases (4.3.0,4.3.1, and4.3.2.2) so Spark 4.0.1 and 4.1.1 can 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.The shim suite covers allowlisted 4.3 version selection (
4.3.0,4.3.1,4.3.2.2), rejection of untested4.3.xreleases (4.3.2,4.3.3) and malformed4.3./4.3.xstrings without falling through to pre-4.2 shims,is_managed_locationfiltering, and CPU/GPUstageCreatemetadata parity. The Unity Catalog REST safety test suite (delta_lake_catalog_rest_test.py),run_unity_catalog_server.sh, andjenkins/spark-tests.shartifact resolution are also updated to accept4.3.0,4.3.1, and4.3.2.2rather than pinning only to4.3.0. In CI,jenkins/spark-premerge-build.sh(ci_scala213) runsDeltaRuntimeShimSuiteon Spark 4.0.1 + Delta 4.3.0 and Spark 4.1.1 + Delta 4.3.1, andjenkins/spark-tests.shselects Delta 4.3.1 on Spark 4.1.1 while keeping 4.3.0 on Spark 4.0.1.Validation
All tests below ran locally on a Linux host with Java 17, Scala 2.13, CUDA 12 (
26.10.1-SNAPSHOT), and NVIDIA RTX PRO 4500 (32 GB) GPUs.Build and static checks
buildver=411, Scala 2.13), Spark 4.0.1 (buildver=401, Scala 2.13), and Spark 3.5.3delta-33x(buildver=353, Scala 2.12): clean compile/package, Apache RAT, and all-module Scalastyle passed.Unit and integration tests
| Spark | Delta runtime |
DeltaRuntimeShimSuite| Full Delta IT (-m delta_lake --delta_lake, 15 files) | UC REST IT (delta_lake_catalog_rest_test.py) || --- | --- | --- | --- | --- |
| 4.1.1 | 4.3.0 | 13 passed | 1,041 passed, 0 failed (606 skipped) | 15 passed, 0 failed |
| 4.1.1 | 4.3.1 | 13 passed | 1,041 passed, 0 failed (606 skipped) | 15 passed, 0 failed |
| 4.0.1 | 4.3.0 | 13 passed | 1,022 passed, 0 failed (625 skipped) | 15 passed, 0 failed |
| 4.0.1 | 4.3.1 | 13 passed | 1,022 passed, 0 failed (625 skipped) | 15 passed, 0 failed |
\ On Spark 4.0.1 + Delta 4.3.0, one wide-schema test (
test_delta_append_data_exec_v1[False-False]) hit a transientTaskResultLostunder the default 1.5 GB driver memory and passed 2/2 on rerun. After adding theis_managed_locationfix,DeltaRuntimeShimSuite(13/13 on all four combinations, plus 9 passed / 4 canceled on default 4.1.0 and 4.0.1 profiles),delta_lake_catalog_rest_test.py(15/15 on all four combinations), standalone CPU vs GPUis_managed_locationparity checks (4.3.0 and 4.3.1), and the fulldelta_lake_write_test.pysuite on Spark 4.1.1 + Delta 4.3.1 (120 passed, 0 failed) were re-run and passed. Negative checks confirmed-Pdelta43-testsrejects Delta 4.1.0 (Spark 4.1.1) and 4.2.0 (Spark 4.0.1), andrun_unity_catalog_server.shrejects invalid--delta-version 4.3..After merging
release/26.10(including #16877), using the explicit allowlist (4.3.0,4.3.1,4.3.2.2), and wiring CI coverage ine9c8ba11b:DeltaRuntimeShimSuitepassed 15/15 on both Spark 4.0.1 + Delta 4.3.0 and Spark 4.1.1 + Delta 4.3.1 using the exactci_scala213premerge commands with-Drapids.parallelUnitTests=trueone9c8ba11b(DeltaRuntimeShimSuite+DeltaProbeImplSuitealso passed 20/20 on Spark 4.1.1 Delta 4.3.0/4.3.1 and Spark 4.0.1 Delta 4.3.0/4.3.1, and 16 passed / 4 canceled on Spark 4.1.1 default Delta 4.1.0 on281a2a220/d7e084688).9a0889d71(test_delta_scan_read,test_delta_read_column_mapping,test_delta_write_round_trip_unmanaged,test_delta_ctas_sql, and version classifier tests): 28 passed, 0 failed;test_oss_delta_lake_version_classifierspassed 13/13 one9c8ba11bafter renaming tois_supported_oss_delta_lake_43(including rejecting untested4.3.2and4.3.3).The downstream 4.3.2.2 artifact is not published on Maven Central; it has been validated locally against this change, while validation in its release test environment remains.
Performance
Measured on Spark 4.1.1 (
local[16], 1x RTX PRO 4500 32 GB,RapidsShuffleManagerMULTITHREADED, local NVMe copy of NDS SF100 Delta dataset, 35 GiB / 24 tables), comparingrelease/26.10base (0948cd2ba) + Delta 4.3.0 against this PR + Delta 4.3.0 and Delta 4.3.1 across two interleaved rounds (forward and reverse order) after page-cache warmup.NDS SF100 on Delta (
sf100_query_0.sql, all 103 subqueries, 102/103 GPU plans, 0 failures)| Arm (mean of 2 interleaved rounds) | Total query time | Power test wall | Geomean | vs base 4.3.0 (sum / geomean) |
| --- | ---: | ---: | ---: | --- |
|
release/26.10base + Delta 4.3.0 | 330.23 s (332.64 / 327.82) | 332.00 s | 2,134.0 ms | baseline || PR + Delta 4.3.0 | 331.10 s (328.67 / 333.53) | 332.50 s | 2,139.6 ms | +0.26% / +0.26% |
| PR + Delta 4.3.1 | 330.44 s (333.80 / 327.08) | 331.50 s | 2,131.6 ms | +0.06% / -0.11% |
Delta write microbenchmarks on SF100
store_sales(288M rows, 2 interleaved rounds, GPU plans confirmed)| Query | GPU operator | Base 4.3.0 (s) | PR 4.3.0 (s) | PR 4.3.1 (s) |
| --- | --- | ---: | ---: | ---: |
|
ctas|GpuAtomicCreateTableAsSelect| 9.07 | 9.44 (+4.14%) | 9.62 (+6.09%) ||
update|GpuUpdateCommand| 20.10 | 19.98 (-0.63%) | 20.48 (+1.91%) ||
delete|GpuDeleteCommand| 17.24 | 17.32 (+0.49%) | 17.45 (+1.22%) ||
merge|GpuMergeIntoCommand43x| 32.77 | 33.25 (+1.47%) | 33.46 (+2.12%) ||
compact(288,913 -> 1,824 files) |GpuOptimizeTableCommand| 441.80 | 444.22 (+0.55%) | 443.40 (+0.36%) ||
liquid_cluster|GpuOptimizeTableCommand| 20.58 | 20.34 (-1.17%) | 20.19 (-1.92%) |(
ctasis the first query of each JVM and reflects ~0.3–0.5 s cold-JIT variance;mergeran withspark.sql.ansi.enabled=falsefor Spark 4.x int32 expression parity andspark.rapids.sql.reader.batchSizeRows=4000000/batchSizeBytes=128mto keepGpuInputFileNamestrings below cuDF's 2 GiB column limit;compactbenchmarkedOPTIMIZEviaSHALLOW CLONEof the same 288,913-filemaxRecordsPerFile=1000table across all arms.)AI assistance from Codex and Devin was used to prepare, audit, and validate this backport.
Checklists
Documentation
Testing
Performance