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:
DeltaSqlAstBuilder
is requested to parse RESTORE SQL statementDeltaTableOperations
is requested to executeRestore
Analysis Phase¶
RestoreTableStatement
is resolved to RestoreTableCommand (by DeltaAnalysis logical resolution rule).