Skip to content

DeltaSqlAstBuilder

DeltaSqlAstBuilder is a command builder for the Delta SQL statements (described in DeltaSqlBase.g4 ANTLR grammar).

DeltaSqlParser is used by DeltaSqlParser.

SQL Statement Logical Command
ALTER TABLE ADD CONSTRAINT AlterTableAddConstraint
ALTER TABLE DROP CONSTRAINT AlterTableDropConstraint
CONVERT TO DELTA ConvertToDeltaCommand
DESCRIBE DETAIL DescribeDeltaDetailCommand
DESCRIBE HISTORY DescribeDeltaHistoryCommand
GENERATE DeltaGenerateCommand
OPTIMIZE OptimizeTableCommand
RESTORE RestoreTableStatement
VACUUM VacuumTableCommand

maybeTimeTravelChild

maybeTimeTravelChild(
  ctx: TemporalClauseContext,
  child: LogicalPlan): LogicalPlan

maybeTimeTravelChild creates a TimeTravel (with sql ID).

maybeTimeTravelChild is used when: