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: 

How can we do data copy from Databricks SQL using notebook?

Jayesh
New Contributor III

Hi Team, we have a scenario where we have to connect to the DataBricks SQL instance 1 from another DataBricks instance 2 using notebook or Azure Data Factory. Can you please help?

1 ACCEPTED SOLUTION

Accepted Solutions

User16764241763
Honored Contributor

Hello @Jayesh Mehta​ 

You can using Python connector from notebook

https://docs.databricks.com/dev-tools/python-sql-connector.html

View solution in original post

5 REPLIES 5

User16764241763
Honored Contributor

Hello @Jayesh Mehta​ 

You can using Python connector from notebook

https://docs.databricks.com/dev-tools/python-sql-connector.html

Jayesh
New Contributor III

Thanks a lot 🙂

Hubert-Dudek
Esteemed Contributor III
  • You can also mount on both databricks workspaces the same storage folder and use COPY INTO for example,
  • In ADF you can use a databricks/delta connector to read from one delta and insert it into another,
  • If it is the one-time copy (like migration) we can copy using ADF just files between storage accounts, it is the fastest copy

artsheiko
Databricks Employee
Databricks Employee

Make sure that you need such an operation in principle : we have Clone use cases as well as Delta Sharing features that might be useful for you

Anonymous
Not applicable

Thanks for jumping in to help @Arvind Ravish​  @Hubert Dudek​ and @Artem Sheiko​ !

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