We successfully resolved the issue, which stemmed from several foreign catalogs in Databricks and their associated permissions. Our Cognos connection targets a dedicated Serverless SQL Warehouse in Databricks. However, some foreign catalogs had the Browse permission granted to ALL users, which caused compatibility issues.
When Cognos attempts to add assets from Databricks, it first tries to list all available catalogs and schemas. During this process, it encountered foreign catalogs that are not compatible with Serverless SQL Warehouses. As a result, the catalog and schema list could not be generated, preventing us from pulling in the assets.
To fix this, we restricted access to the problematic foreign catalogs by removing the Browse permission for ALL users. This ensured that the service account used for the Cognos connection no longer had visibility into those incompatible catalogs. Once this change was made, we were able to successfully retrieve assets from Databricks as expected.
------------------------------
Bryan Townsend
------------------------------
Original Message:
Sent: Wed April 30, 2025 07:13 AM
From: brenda grossnickle
Subject: Databricks Connection
No personal experience but I found this. Try having someone create a new table.
Unable to Load Metadata for Oracle Synonyms | Cognos Analytics
------------------------------
brenda grossnickle
BI Programmer Analyst
FIS
Original Message:
Sent: Sat April 26, 2025 03:52 PM
From: Bryan Townsend
Subject: Databricks Connection
We're having an issue with a databricks connection in cognos 11.2.4. The connection tests successfully, but loading metadata in assets fails. It's not able to recognize the schema and tables in databricks. We were able to create a report with pass-through sql using the same connection and the report returned data so we know the jdbc connection string and credentials are valid. In order to create a data module we need to be able to pull in the metadata. We've tried with multiple databricks drivers and all are unable to pull in the metadata. Has anyone successfully pulled in assets using a databricks connection?
------------------------------
Bryan Townsend
------------------------------