AlterTableDropFeature Command¶
AlterTableDropFeature is an AlterTableCommand (Spark SQL) unary logical operator that represents ALTER TABLE DROP FEATURE SQL command in a logical query plan.
AlterTableDropFeature supports a single feature removal (by the feature name).
AlterTableDropFeature becomes an AlterTableDropFeatureDeltaCommand at execution time (when AbstractDeltaCatalog is requested to alter a table).
Creating Instance¶
AlterTableDropFeature takes the following to be created:
- Table (
LogicalPlan) - Name of the feature to drop
-
truncateHistoryflag
AlterTableDropFeature is created when:
DeltaSqlAstBuilderis requested to parse ALTER TABLE DROP FEATURE SQL command
TableChanges¶
AlterTableCommand
changes is part of the AlterTableCommand (Spark SQL) abstraction.
changes is just a single DropFeature (for this name of the feature to drop and truncateHistory flag).