Skip to content

lucaferrari77/Fabric_Restore_Delta_Table_to_a_previous_version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Restore a lakehouse/warehouse table to a previous version

MS Fabric lakehouse and warehouse leverage the Delta format and Delta format allow Time travel which allows querying a table as it was in a specific poin in time. This depends on the Data retention for the lakehouse/Warehouse

  1. A Lakehouse allows infinite versions of the same tables because there's no default data retention
  2. A Warehouse allows up to 30 calendar days data retention. It means that an user can time travel back to 30 days in the past.

Due to data inconsistency, bug in the data process, user error etc, it might be necessary to restore the table as it was before the issue; with a Lakehouse the user can restore the table as it was before the issue happened easally using a notebook. With a warehouse this can be done using the T-SQL code and some intermediate step.

Here how to restore a table in a lakehouse
Here how to restore a table in a warehouse

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published