IBM Support

Cannot use the Dremio Flight JDBC driver with Cognos Analytics

Troubleshooting


Problem

Dremio is offering an alternative JDBC driver based on Apache Arrow Flight. The Dremio JDBC download page defaults to this driver, and attempting to use it with Cognos Analytics will return an error.

Symptom

The <cognos\drivers> folder has a copy of the Dremio Flight driver (flight-sql-jdbc-driver-version.jar).

Creating a connection in Cognos Analytics that specifies the new driver class name (org.apache.arrow.driver.jdbc.ArrowFlightJdbcDriver) and URL protocol (arrow-flight-sql) throws a not supported error.

If a connection is created that uses the default driver class name and URL protocol used by Dynamic Query, the Java runtime environment fails to locate the driver, if <cognos\drivers> does not include a copy of the supported driver (dremio-jdbc-driver-version.jar).

Environment

Dynamic Query supports the non-Flight Dremio JDBC driver, which their online documentation refers to as their legacy driver.

The Dremio driver download page (link) defaults to the Flight-based driver. The same page provides a link to the non-Flight driver which is supported (link).

Resolving The Problem

Do not use the Flight-based driver.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl3zAAC","label":"Administration"},{"code":"a8m50000000Cl6nAAC","label":"Data Source"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
06 January 2023

UID

ibm16853443