Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Java runtime requirement for clients #24420

Open
mosabua opened this issue Dec 9, 2024 · 3 comments
Open

Update Java runtime requirement for clients #24420

mosabua opened this issue Dec 9, 2024 · 3 comments
Assignees
Labels
roadmap Top level issues for major efforts in the project

Comments

@mosabua
Copy link
Member

mosabua commented Dec 9, 2024

Currently the Java-based clients include the CLI and the JDBC driver and they require Java 8 or newer. They benefit from using Java 22 or newer specifically with the spooling protocol.

The JDBC driver has many applications as downstream dependency but there is no complete list as these includes open source and closed source applications as well as custom applications that are completely private.

We are planning to upgrade the requirement to Java 11 or even 17 to allow us to remove usage of some old libraries that cause issues.

Java 8, 11, and 17 are all outdated LTS versions of Java at this stage. Usage of these old versions varies depending on the statistics you look at.

Trino itself requires Java 23.

We first discussed this upgrade internally with the maintainers and then also at Oct and Nov 2024 contributor calls. No concerns were raised.

We will ask for feedback again in the Trino Summit keynote and the following maintainer and contributor calls.

Unless we hear back concerns and reasonable justifications we will definitely up the requirement to Java 11 in early 2025.

Also note that users will still be able to use the JDBC driver versions from any Trino release up to that point including the current Trino 466 release where we added client support for the spooling protocol.

@mosabua
Copy link
Member Author

mosabua commented Dec 9, 2024

Fyi @wendigo @monimiller

@mosabua mosabua added the roadmap Top level issues for major efforts in the project label Dec 9, 2024
@mosabua mosabua self-assigned this Dec 9, 2024
@PlePato
Copy link

PlePato commented Dec 15, 2024

Does that mean we can use Trino jdbc v466 (with java8 jdbc), while we will use newer Trino server version ?

@wendigo
Copy link
Contributor

wendigo commented Dec 15, 2024

@PlePato This was always the case. JDBC requires JDK 8+ and maintains forward compatibility with the newer server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap Top level issues for major efforts in the project
Development

No branches or pull requests

3 participants