cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks API - Create Connection

giladba
New Contributor III

Hi,

Is it possible to use the Databricks API to create a connection to a different Azure Databricks workspace?

Thanks

4 REPLIES 4

jacovangelder
Honored Contributor

No. You can use either Unity Catalog, Databricks Connect, Delta Sharing or DBFS mounts to access data in another databricks workspace (with its own cloud storage) 

It is possible to create a connection and create a foreign catalog which uses this connection, through the Databricks UI . For some reason, the Databricks API doesn't seem to be able to handle creating the connection to a different Databricks workspace.

jacovangelder
Honored Contributor

Ah you mean a connection inside Unity Catalog, that wasn't really clear from the starting post. 
I've done all of this with Terraform, so there must be an API available for it. Here it is: https://docs.databricks.com/api/azure/workspace/connections/create.

For creating a Databricks to Databricks connection, you'll have to either set Unity Catalog permissions or remove the catalog isolation in the workspaces. 

giladba
New Contributor III

My apologies for not being cleared in the first post.

Terraform can handle it. The API is probably behind and can't handle the connection to Databricks yet. The best solution would probably be to just move to Unity Catalog...
Thanks for your quick reply

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