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

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now