Skip to content

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)
  • WHERE partition predicates

DeltaReorgTable is created when: