Skip to content

GH-55691: [CI] Bump minimum supported Spark JDK to 21, fix pandas installation in Spark job and skip current failing test on Spark - #55692

Merged
raulcd merged 9 commits into
apache:mainfrom
raulcd:GH-55691
Nov 30, 2026

Conversation

@raulcd

@raulcd raulcd commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

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?

  • Bump JDK to 21
  • Fix pandas installation. While validating I realized all tests were being skipped because pandas was missing.
  • Skip current failing test. I've raised the issue and created a PR on Spark.

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:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

Copilot AI balanced review requested due to automatic review settings November 20, 2026 12:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Copilot AI balanced review requested due to automatic review settings November 20, 2026 12:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@raulcd raulcd changed the title GH-55691: [CI] Bump minimum supported Spark JDK to 21 and bump Python version GH-55691: [CI] Bump minimum supported Spark JDK to 21 Nov 20, 2026
@raulcd

raulcd commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-conda-python-3.11-spark-master

@github-actions

Copy link
Copy Markdown

Revision: caf7133

Submitted crossbow builds: ursacomputing/crossbow @ actions-fc06027ebe

Task Status
test-conda-python-3.11-spark-master GitHub Actions

Copilot AI balanced review requested due to automatic review settings November 20, 2026 12:58
@raulcd

raulcd commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-conda-python-3.11-spark-master

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

Copy link
Copy Markdown

Revision: 808e7c4

Submitted crossbow builds: ursacomputing/crossbow @ actions-ebe11f7e9e

Task Status
test-conda-python-3.11-spark-master GitHub Actions

@raulcd

raulcd commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

The C GLib & Ruby / AMD64 Windows MinGW 64 GLib & Ruby failure is unrelated. I have seen it on a different PR too. I've opened the following issue to track it:

@raulcd
raulcd marked this pull request as draft November 20, 2026 14:03
@raulcd

raulcd commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-conda-python-3.11-spark-master

@github-actions

Copy link
Copy Markdown

Revision: 7c62674

Submitted crossbow builds: ursacomputing/crossbow @ actions-d435726890

Task Status
test-conda-python-3.11-spark-master GitHub Actions

@raulcd

raulcd commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-conda-python-3.11-spark-master

@github-actions

Copy link
Copy Markdown

Revision: 83a2c52

Submitted crossbow builds: ursacomputing/crossbow @ actions-eb429a94c2

Task Status
test-conda-python-3.11-spark-master GitHub Actions

@raulcd

raulcd commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-conda-python-3.11-spark-master

@github-actions

Copy link
Copy Markdown

Revision: ad8a6b5

Submitted crossbow builds: ursacomputing/crossbow @ actions-2a02ce6d49

Task Status
test-conda-python-3.11-spark-master GitHub Actions

@raulcd

raulcd commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-conda-python-3.11-spark-master

@github-actions

Copy link
Copy Markdown

Revision: ba4b58b

Submitted crossbow builds: ursacomputing/crossbow @ actions-017c4775f5

Task Status
test-conda-python-3.11-spark-master GitHub Actions

@raulcd
raulcd marked this pull request as ready for review November 23, 2026 10:31
Copilot AI balanced review requested due to automatic review settings November 23, 2026 10:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

"pyspark.sql.tests.arrow.test_arrow_map"
# Skip test_arrow_map for now due to known issues with PyArrow API changes.
# Remove skip once Spark fixes:
# https://issues.apache.org/jira/browse/SPARK-62139

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@raulcd raulcd changed the title GH-55691: [CI] Bump minimum supported Spark JDK to 21 GH-55691: [CI] Bump minimum supported Spark JDK to 21, fix pandas installation in Spark job and skip current failing test on Spark Nov 23, 2026
@raulcd
raulcd requested a review from tadeja November 23, 2026 14:58
Comment thread dev/tasks/tasks.yml Resolved
Comment thread ci/docker/conda-python-spark.dockerfile Resolved

@tadeja tadeja left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me (except for that mentioned ARG jdk=17)
While reviewing, I found this unrelated little bug:

Comment thread dev/tasks/tasks.yml Resolved
Comment thread ci/docker/conda-python-spark.dockerfile Resolved
Co-authored-by: Raúl Cumplido <raulcd@apache.org>
Copilot AI balanced review requested due to automatic review settings November 30, 2026 08:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@raulcd
raulcd merged commit e05937e into apache:main Nov 30, 2026
31 of 34 checks passed
@raulcd
raulcd deleted the GH-55691 branch November 30, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Spark test fails on nightlies because Spark now needs JDK >= 21

3 participants