DeltaSqlAstBuilder¶
DeltaSqlAstBuilder is a command builder for the Delta SQL statements (described in DeltaSqlBase.g4 ANTLR grammar).
DeltaSqlParser is used by DeltaSqlParser.
maybeTimeTravelChild¶
maybeTimeTravelChild creates a TimeTravel (with sql ID).
maybeTimeTravelChild is used when:
DeltaSqlAstBuilderis requested to parse RESTORE command
visitClone¶
visitClone creates a CloneTableStatement logical operator.
visitClusterBy¶
visitClusterBy creates a ClusterByPlan (with a ClusterBySpec) for CLUSTER BY clause.
interleaves are the column names to cluster by.
Note
CLUSTER BY is similar to ZORDER BY syntax-wise.
visitDescribeDeltaHistory¶
visitDescribeDeltaHistory creates a DescribeDeltaHistory logical operator for the following SQL statement:
visitReorgTable¶
visitReorgTable creates a DeltaReorgTable logical operator.