← Back to Pull requests

[ZEPPELIN-6701] Support Spark 4.1, 4.2 and 4.3 #5465

Closed
unknown closed this pull request without merging on Nov 12, 2026 03:27 UTC
View on GitHub
unknown unknown commented on Sep 08, 2026 06:24 UTC
Author

What is this PR for?

Adds official Spark 4.1, 4.2 and 4.3 support.

1. Adds spark-4.1, spark-4.2 and spark-4.3 build profiles, using Spark 4.1.3, 4.2.0 and 4.3.0.
2. Extends the supported Spark version range to 3.3-4.3; 4.4 is the unsupported-future boundary.
3. Restructures the spark-test job as a matrix-driven job covering Spark, Scala, Java, and Python combinations.
4. Runs Spark 4.1, 4.2 and 4.3 tests with JDK 17 and Python 3.14.
5. Adds a Python 3.14 conda lock resolved from conda-forge, and pins the interpreter in the test environment YAMLs.
6. Updates the Spark build documentation.

What type of PR is it?

Feature

How should this be tested?

CI validates all supported combinations through the matrix-driven spark-test job. The Python 3.14 runs install testing/locks/python-3.14-linux-64.conda.lock, which carries the Spark-derived dependency constraints, including pandas>=2.2,<3.0, numpy>=1.21, pyarrow>=18, and grpcio>=1.76,<2.

Locally verified:

./mvnw package -pl spark/interpreter -am -DskipTests -Pspark-4.1 -Pspark-scala-2.13
./mvnw package -pl spark/interpreter -am -DskipTests -Pspark-4.2 -Pspark-scala-2.13
./mvnw test -pl spark/interpreter -Pspark-4.3 -Pspark-scala-2.13 -Dtest=SparkVersionTest -DfailIfNoTests=false

Also verified the Python 3.14 lock solve and installation.

Screenshots

N/A

How this resolves?

Provides the Maven profiles, runtime version boundary, CI coverage, and documentation needed to test and build against Spark 4.1, 4.2 and 4.3.

Questions

1. Does the licenses file need to update? No
2. Is there breaking changes for older versions? No
3. Does this need documentation? Yes

Diff: 212 lines (+159 / -53) across 2 files Reviewer: jongyoul Review duration: 93423m
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 212 lines diff across 2 files
0.37
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.321
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5465"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 36.5% (MEDIUM) · Higher = larger blast radius
36.5%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 14.4% · Safe to merge
14.4%