forked from delta-io/delta
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python API for restoring delta table
* Add possibility to restore delta table using version or timestamp from pyspark Examples: ``` DeltaTable.forPath(spark, path).restoreToVersion(0) DeltaTable.forPath(spark, path).restoreToTimestamp('2021-01-01 01:01-01') ``` Tested by unit tests. Fixes delta-io#890 Signed-off-by: Maksym Dovhal <maksym.dovhal@gmail.com> Closes delta-io#903 Signed-off-by: Venki Korukanti <venki.korukanti@databricks.com> GitOrigin-RevId: 8ca6a3643d97b1a95ebf3a48edcb23f4f2adb6f4
- Loading branch information
Showing
2 changed files
with
84 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters