Skip to content

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
  • truncateHistory flag (default: false)

AlterTableDropFeatureDeltaCommand is created when:

Execute Command

RunnableCommand
run(
  sparkSession: SparkSession): Seq[Row]

run is part of the RunnableCommand (Spark SQL) abstraction.

run...FIXME

executeDropFeatureWithHistoryTruncation

executeDropFeatureWithHistoryTruncation(
  sparkSession: SparkSession,
  removableFeature: TableFeature with RemovableFeature): Seq[Row]

executeDropFeatureWithHistoryTruncation...FIXME