You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JDBC driver does not support compressed IPC streams (ZSTD, LZ4) [FlightSQL] #926
Describe the bug, including details regarding any error messages, version, and platform.
Component: Flight SQL JDBC Driver Version: 18.3.0
The flight-sql-jdbc-driver shaded JAR does not include compression support, causing connection failures when the Flight SQL server sends compressed IPC streams using ZSTD or LZ4 compression.
Expected Behavior
The JDBC driver should be able to handle compressed IPC streams from Flight SQL servers, similar to how the direct Flight SQL client (flight-sql artifact) handles them.
Actual Behavior
Connection fails with one of these errors depending on compression type used by server:
ZSTD compression:
java.lang.IllegalArgumentException: Please add arrow-compression module to use CommonsCompressionFactory for ZSTD
at org.apache.arrow.driver.jdbc.shaded.org.apache.arrow.vector.compression.NoCompressionCodec$Factory.createCodec(NoCompressionCodec.java:63)
Activity
xborder commentedon Dec 22, 2025
I managed to reproduce this. It seems
arrow-compressionis not included in the shaded jar. Would it make sense to include it?aarshivv commentedon Dec 22, 2025
To me, this seems like good to have, as using compression is pretty common.