cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.