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\removing cache() of fileToRemove…
…\moving * 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') ``` * Remove unnecessary caching of filesToRemove in RestoreTableCommand * Move RestoreTableCommand to org.apache.spark.sql.delta.commands Fixes delta-io#890 Signed-off-by: Maksym Dovhal <maksym.dovhal@gmail.com>
- Loading branch information
Maksym Dovhal
committed
Jan 22, 2022
1 parent
0d07d09
commit c139bc0
Showing
4 changed files
with
89 additions
and
22 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
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