AlterTableDropFeatureDeltaCommand¶
AlterTableDropFeatureDeltaCommand is a LeafRunnableCommand (Spark SQL) logical operator that represents the following commands at execution:
AlterTableDropFeatureDeltaCommand is an AlterDeltaTableCommand.
AlterTableDropFeatureDeltaCommand is an IgnoreCachedData (Spark SQL) logical operator.
Creating Instance¶
AlterTableDropFeatureDeltaCommand takes the following to be created:
- DeltaTableV2
- Name of the feature to drop
-
truncateHistoryflag (default:false)
AlterTableDropFeatureDeltaCommand is created when:
AbstractDeltaCatalogis requested to alter a table (with DropFeature table change)DeltaTableis requested to dropFeatureSupport
Execute Command¶
RunnableCommand
run is part of the RunnableCommand (Spark SQL) abstraction.
run...FIXME
executeDropFeatureWithHistoryTruncation¶
executeDropFeatureWithHistoryTruncation(
sparkSession: SparkSession,
removableFeature: TableFeature with RemovableFeature): Seq[Row]
executeDropFeatureWithHistoryTruncation...FIXME