Incredible Databricks Delta Time Travel Ideas

Best traveling Tips and References website. Search and Download anything about traveling Ideas in this website.

Databricks Delta Time Travel. Vacuum deletes only data files, not log files. Scala (2.12 version) apache spark (3.1.1 version)

Productionizing Machine Learning with Delta Lake
Productionizing Machine Learning with Delta Lake from databricks.com

The previous snapshots of the delta table can be queried by using the time travel method that is an older version of the data that can be easily accessed. The default threshold is 7 days. The default is interval 30 days.

Productionizing Machine Learning with Delta Lake

The default retention period of log files is 30 days, configurable through the delta.logretentionduration property which you set with the alter table set tblproperties sql method. We have to simply provide the exact. Vacuum deletes only data files, not log files. Notice the parameter ‘timestampasof’ in the below code.