Add Spark 4.1.4 shim support [databricks] #16837
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 456 lines diff across 5 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.366
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #16837"
general
weight: 0.35
res-life
Fixes #16833.
contributes to #16814.
Description
Spark 4.1.4 is not currently recognized as a supported build and runtime version, so the RAPIDS Accelerator cannot be built or loaded for that Spark release.
This change adds the Scala 2.13
release414profile, inherits the Spark 4.1.3 shim sources, registers an exact Spark 4.1.4 shim service provider, generates the Spark 4.1.4 support metadata, and updates the supported-version documentation. Users can build the plugin with-Dbuildver=414; no new configuration is introduced.Spark 4.1.4 also contains maintenance fixes already adapted for Spark 4.0.5. This change selects those existing implementations and regression suites for Spark 4.1.4, covering floating-point normalization in array set operations, Long-boundary sequence handling, storage-partitioned join partition-value projection, ORC timestamp inference, rejection of duplicate Parquet physical-field requests, and write validation and overwrite ordering. The extreme Decimal scale case remains outside this PR and is tracked by #16834.
The foundational profile intentionally uses the Delta Lake and Iceberg stub modules. Real integration compatibility has not yet been established and remains tracked by #16623 and #16624 under the Spark 4.1.4 epic #16101. Iceberg test source selection is limited accordingly; in particular, the S3 input-file suite is not selected for the Spark 4.1.4, 4.2, or 5.0 stub profiles.
Validation completed:
validatepassed for Spark 4.1.4, including Scalastyle and license checks.saveAsTableoverwrite.Performance validation used the same dual-shim CUDA 13 JAR for Spark 4.1.3 and the Spark 4.1.4 RC4 candidate, local NDS Parquet SF100 data, GPU execution with
local[16], all 103 benchmark queries, one iteration per query, and 8 shuffle writer threads. Two consecutive complete runs per Spark version from the same Spark 4.1.3-then-4.1.4 session produced:This change was prepared with AI assistance and has been reviewed by the contributor before publication.
Checklists
Documentation
Testing
Performance