Skip to content

AlterTableRecoverPartitionsCommand Logical Command

AlterTableRecoverPartitionsCommand is a runnable logical command that represents RepairTableStatement and AlterTableRecoverPartitionsStatement parsed statements.

Creating Instance

AlterTableRecoverPartitionsCommand takes the following to be created:

  • TableIdentifier
  • Command Name (default: ALTER TABLE RECOVER PARTITIONS)

AlterTableRecoverPartitionsCommand is created when:

Executing Command

  spark: SparkSession): Seq[Row]


run is part of the RunnableCommand abstraction.