RestoreTableStatement Unary Logical Operator¶
RestoreTableStatement is a unary logical operator (Spark SQL) that represents the following:
- RESTORE TABLE SQL statement
- DeltaTable.restoreToVersion operation
- DeltaTable.restoreToTimestamp operation
Creating Instance¶
RestoreTableStatement takes the following to be created:
- TimeTravel specification
RestoreTableStatement is created when:
DeltaSqlAstBuilderis requested to parse RESTORE SQL statementDeltaTableOperationsis requested to executeRestore
Analysis Phase¶
RestoreTableStatement is resolved to RestoreTableCommand (by DeltaAnalysis logical resolution rule).