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:
-
ResolveSessionCatalog logical analysis rule is executed (and resolves RepairTableStatement and AlterTableRecoverPartitionsStatement parsed statements)
-
CreateDataSourceTableAsSelectCommand logical command is executed (for a partitioned HadoopFsRelation)
-
CatalogImpl
is requested to recoverPartitions
Executing Command¶
run(
spark: SparkSession): Seq[Row]
run
...FIXME
run
is part of the RunnableCommand abstraction.
Last update: 2020-09-30