Java 21 support with Databricks JDBC driver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 04:27 AM
Hello,
I was wondering if there was any timeline for Java 21 support with the Databricks JDBC driver (current version is 2.34).
One of the required change is to update the dependency to arrow to version 13.0 (current version is 9.0.0).
The current workaround is to disable arrow in the connection string with `EnableArrow=0` but I would like to still be able to use arrow serialization.
Regards
- Labels:
-
Spark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2024 02:42 AM
Hi,
Is there a committed date when this issue will be fixed?
Toggling off Arrow creates 70% performance degradation in our benchmark and it's unacceptable.
Waiting for your update.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2025 09:44 AM
Try to apply the following JVM parameters:
--add-opens java.base/java.nio=ALL-UNNAMED
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 07:29 AM
Hello @Retired_mod
Any update on this topic of Java 21 ? Any timeline ?
Our clients really want to upgrade to Java 21 and we don't want to disable Arrow for performance reasons
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 06:27 AM
Hi,
Any news on this topic?
We recently upgraded to Java 21 (which is out since 1 months) and we had to disable Arrow which is not good for performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 01:32 AM
Hi, this issue blocks us from updating Java 21, which is critical for addressing security issues. Please, update on the timelines, please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2024 04:11 PM
Regarding EnableArrow, it is not discussed in the PDF SIMBA distributes with the driver, it is buried in the release notes.txt file.
It may be required to avoid corrupted character values being returned from the driver. This can occur with JRE 8.
Hopefully the SIMBA/Databricks PM for the driver will review docs etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2025 09:43 AM
You can download the latest Databricks JDBC here (https://www.databricks.com/spark/jdbc-drivers-download) in which the latest Arrow version is 17 (https://databricks-bi-artifacts.s3.us-east-2.amazonaws.com/simbaspark-drivers/jdbc/2.7.1/docs/releas...).
We encourage you not to turn off Arrow, which has severe performance degradation. Instead, you can apply the following JVM parameters, as it is also called out in the driver configuration and installation guide (https://docs.databricks.com/aws/en/assets/files/Databricks-JDBC-Driver-Install-and-Configuration-Gui... or you can find it embedded in the driver package).
--add-opens java.base/java.nio=ALL-UNNAMED

