AlterTableExec¶
AlterTableExec is a V2CommandExec leaf physical command to represent AlterTableCommand logical operator at execution.
Creating Instance¶
AlterTableExec takes the following to be created:
- TableCatalog
- Table Identifier
- TableChanges
AlterTableExec is created when:
- DataSourceV2Strategy execution planning strategy is executed (to plan an AlterTableCommand logical operator)
Executing Command¶
run(): Seq[InternalRow]
run is part of the V2CommandExec abstraction.
run requests the TableCatalog to alter a table (with the identifier and TableChanges).