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:ย 

If I create a clone of a Delta table, does it stay in sync with the original table?

User16826992666
Valued Contributor

Basically wondering what happens to the clone when updates are made to the original Delta table. Will the changes apply to the cloned table as well?

1 ACCEPTED SOLUTION

Accepted Solutions

sajith_appukutt
Honored Contributor II

The clone is not a replica and so updates made to the original delta table wouldn't be applies to the clone.

However, shallow clones reference data files in the source directory. If you run vacuum on the source table, clients will no longer be able to read the referenced data files and could result in an exception

View solution in original post

1 REPLY 1

sajith_appukutt
Honored Contributor II

The clone is not a replica and so updates made to the original delta table wouldn't be applies to the clone.

However, shallow clones reference data files in the source directory. If you run vacuum on the source table, clients will no longer be able to read the referenced data files and could result in an exception

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