I can't get Flight SQL metadata from Dremio Cloud

I’m developing a client that uses Flight SQL to interact with Dremio Cloud instance.

When I try to get FlightInfo and set the metadata like following:

final FlightInfo flightInfo = flightSqlClient.getSqlInfo(args, getCallOptions());
for (final FlightEndpoint endpoint : flightInfo.getEndpoints()) {
            try (FlightStream stream = flightSqlClient.getStream(endpoint.getTicket(), getCallOptions())) {
                while (stream.next()) {
...

In getStream method, I’m getting the following error:

org.apache.arrow.flight.FlightRuntimeException: INTERNAL: There was an error servicing your request

The same code for Dremio local instance is working fine.

Please help.

Hi there,

The Flight SQL Driver is currently not compatible with Dremio Cloud. Our engineers are currently working on achieving parity for this driver between Dremio software and Dremio Cloud, and it should be released soon!

Noted here in the driver release notes: Dremio

Cindy

1 Like