cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

[Unity Catalog]-CosmosDB: Data source v2 are not supported

LoiLN
New Contributor III

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!

5 REPLIES 5

Wojciech_BUK
Valued Contributor III

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.

 

LoiLN
New Contributor III

Hi, here is my configure:

  • cluster access mode: Shared
  • runtime version: 13.3 LTS

LoiLN_0-1703683975543.png

 

Wojciech_BUK
Valued Contributor III

You have to use Single user access mode and it will work with Unity.
Shared Access mode has some limitations ๐Ÿ˜ž 

Wojciech_BUK
Valued Contributor III

Wojciech_BUK_0-1703686263208.pngWojciech_BUK_1-1703686291794.pngWojciech_BUK_2-1703686321720.png

 

LoiLN
New Contributor III

It works for single mode, thank you very much!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group