GH-55691: [CI] Bump minimum supported Spark JDK to 21, fix pandas installation in Spark job and skip current failing test on Spark #55692
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.30) × (1 − Review Confidence (0.70)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 23 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.59 · 5 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.190
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
6 items
I created a PR on Spark to fix this and be able to remove the skip. We can merge this and remove later or if the Spark fix gets merged I'll remove it from here.
Ha, unrelated stale comment - this should say master instead of branch-3.0 since July 2014 or earlier
https://github.com/apache/arrow/commit/4161898d5cd7d05ad0fd9f23e1e9df9439460c98#diff-58624af974aef2e2980f03f99d2386e78e3fcb1a53d6a4b06612ded49ea8d449R1543
Perhaps something like this for a separate minor PR?
- # use the branch-3.0 of spark, so prevent reusing any layers
+ # Fetch the latest Spark master instead of reusing a cached checkout
-ARG jdk=17
+ARG jdk=21
What about updating this as well?
Otherwise local Docker image build may fail with 17 at Maven's validate step.
# Fetch the latest Spark master instead of reusing a cached checkout
ARG jdk=21
kou
raulcd
Rationale for this change
Spark has bumped the minimum supported JDK version on their master branch to JDK 21, see:
What changes are included in this PR?
Are these changes tested?
Yes via archery
Are there any user-facing changes?
No
Was AI used for this PR?
In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.
PR code and description written by:
Reviewed before submission by: