DeltaReorgTable Unary Logical Operator¶
DeltaReorgTable is a unary logical operator (Spark SQL) that represents REORG TABLE SQL command in a logical query plan.
DeltaReorgTable is resolved into a DeltaReorgTableCommand at DeltaAnalysis (for DeltaTableV2s or throws a DeltaAnalysisException).
Creating Instance¶
DeltaReorgTable takes the following to be created:
- Target
LogicalPlan(Spark SQL) -
WHEREpartition predicates
DeltaReorgTable is created when:
DeltaSqlAstBuilderis requested to parse REORG TABLE command