Skip to content

Conversation

@andygrove
Copy link
Member

Which issue does this PR close?

Closes #1775

Rationale for this change

We want to upgrade to arrow-java 18.3.0 to pick up an important bug fix, but arrow-java no longer supports Java 8.

What changes are included in this PR?

How are these changes tested?

@andygrove andygrove changed the title chore: Drop support for Java 8 chore: Stop building with Java 8 May 22, 2025
@andygrove andygrove changed the title chore: Stop building with Java 8 chore: Drop support for Java 8 May 22, 2025
@codecov-commenter
Copy link

codecov-commenter commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.55%. Comparing base (f09f8af) to head (a813e93).
Report is 213 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1777      +/-   ##
============================================
+ Coverage     56.12%   58.55%   +2.42%     
- Complexity      976     1138     +162     
============================================
  Files           119      130      +11     
  Lines         11743    12684     +941     
  Branches       2251     2363     +112     
============================================
+ Hits           6591     7427     +836     
- Misses         4012     4073      +61     
- Partials       1140     1184      +44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andygrove andygrove marked this pull request as ready for review May 23, 2025 15:05
@andygrove andygrove requested review from comphead, Copilot and kazuyukitanimura and removed request for Copilot May 23, 2025 15:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR drops support for Java 8 to allow upgrading arrow‑java to 18.3.0, which no longer supports Java 8. The key changes include:

  • Removal of the Java 8 (jdk1.8) Maven profile from pom.xml.
  • Updating documentation to reflect support only for JDK 11/17.
  • Adjusting CI workflows in .github/workflows/pr_build.yml to remove Java 8 from the test matrices.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
pom.xml Removed the jdk1.8 profile to eliminate Java 8-specific configurations.
docs/source/user-guide/installation.md Updated the supported Java version table to remove Java 8.
docs/source/contributor-guide/development.md Modified JDK reference from 8/11/17 to 11/17 in setup instructions.
.github/workflows/pr_build.yml Updated CI test matrices to exclude Java 8 and, in one case, test only Java 17.
Comments suppressed due to low confidence (1)

.github/workflows/pr_build.yml:321

  • In the 'macos-aarch64-test-with-old-spark' workflow, only Java 17 is being tested compared to other workflows that test both Java 11 and 17. Please confirm if omitting Java 11 here is intentional to ensure adequate test coverage.
java_version: [17]

@andygrove andygrove requested a review from parthchandra May 23, 2025 15:37
Copy link
Contributor

@parthchandra parthchandra left a comment

Choose a reason for hiding this comment

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

lgtm

Co-authored-by: Oleks V <comphead@users.noreply.github.com>
@andygrove andygrove merged commit e25be9e into apache:main May 23, 2025
69 checks passed
@andygrove andygrove deleted the drop-java-8 branch May 23, 2025 17:44
coderfender pushed a commit to coderfender/datafusion-comet that referenced this pull request Dec 13, 2025
* drop support for Java 8

* Update development.md

Co-authored-by: Oleks V <comphead@users.noreply.github.com>

---------

Co-authored-by: Oleks V <comphead@users.noreply.github.com>
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.

Drop support for Java 8

5 participants