[Unity Catalog]-CosmosDB: Data source v2 are not supported
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 12:44 AM
I've worked on azure databricks connected to azure cosmos. It works when my cluster is not enabling Unity Catalog (UC).
But when I enable UC, it return error like below:
AnalysisException: [UC_COMMAND_NOT_SUPPORTED.WITHOUT_RECOMMENDATION] The command(s): Data source v2 are not supported in Unity Catalog.;
Please help me, thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 05:24 AM
Hey, please share
- code that is causing the bug
- cluster access mode (shared or single user)
- runtime version
Are you using this methid to connect;?
https://docs.databricks.com/en/connect/external-systems/cosmosdb-connector.html
There is chance that the methond you are using is not supported with UC and you might need to upgrad your code or use No isolation Shared cluster.
e.g. i have been publishing FS to Cosmos DB with AzureCosmosDBSpec and i switched from:
- databricks.feature_store.online_store_spec
to: - databricks.feature_engineering.online_store_spec
when I strated using UC as previous library was returning me bugs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 05:33 AM
Hi, here is my configure:
- cluster access mode: Shared
- runtime version: 13.3 LTS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 06:10 AM
You have to use Single user access mode and it will work with Unity.
Shared Access mode has some limitations 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2023 06:47 AM
It works for single mode, thank you very much!

