aarshivv commented on PR #937:
URL: https://github.com/apache/arrow-java/pull/937#issuecomment-3690299557

   @xborder , I tested it against my Rust-based Flight SQL server and it is 
working as expected for ZSTD compression.
   
   However, I am getting the following error when the server uses LZ4_FRAME 
compression:
   ```
   java.sql.SQLException: Error while executing SQL "select * from some_table": 
Arrow error: Invalid argument error: lz4 IPC compression requires the lz4 
feature
           at 
org.apache.arrow.driver.jdbc.shaded.org.apache.calcite.avatica.Helper.createException(Helper.java:56)
           at 
org.apache.arrow.driver.jdbc.shaded.org.apache.calcite.avatica.Helper.createException(Helper.java:41)
           at 
org.apache.arrow.driver.jdbc.shaded.org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:164)
           at 
org.apache.arrow.driver.jdbc.shaded.org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:228)
           at 
com.example.flightsql.ArrowFlightSqlClient.executeAndPrint(ArrowFlightSqlClient.java:108)
           at 
com.example.flightsql.ArrowFlightSqlClient.main(ArrowFlightSqlClient.java:186)
   Caused by: 
org.apache.arrow.driver.jdbc.shaded.org.apache.arrow.flight.FlightRuntimeException:
 INTERNAL: Arrow error: Invalid argument error: lz4 IPC compression requires 
the lz4 feature
   ```
   I confirmed that the shaded JAR includes the compression classes:
   
`org/apache/arrow/driver/jdbc/shaded/org/apache/arrow/compression/Lz4CompressionCodec.class`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to