Skip to content

DeletionVectorsTableFeature

DeletionVectorsTableFeature is a ReaderWriterFeature known by the name of deletionVectors.

With delta.enableDeletionVectors table property enabled, DeletionVectorsTableFeature enables Deletion Vectors.

DeletionVectorsTableFeature is a FeatureAutomaticallyEnabledByMetadata.

automaticallyUpdateProtocolOfExistingTables

FeatureAutomaticallyEnabledByMetadata
automaticallyUpdateProtocolOfExistingTables: Boolean

automaticallyUpdateProtocolOfExistingTables is part of the FeatureAutomaticallyEnabledByMetadata abstraction.

automaticallyUpdateProtocolOfExistingTables is always enabled (true).

metadataRequiresFeatureToBeEnabled

FeatureAutomaticallyEnabledByMetadata
metadataRequiresFeatureToBeEnabled(
  metadata: Metadata,
  spark: SparkSession): Boolean

metadataRequiresFeatureToBeEnabled is part of the FeatureAutomaticallyEnabledByMetadata abstraction.

metadataRequiresFeatureToBeEnabled is the value of delta.enableDeletionVectors table property (in the given Metadata).

preDowngradeCommand

RemovableFeature
preDowngradeCommand(
  table: DeltaTableV2): PreDowngradeTableFeatureCommand

preDowngradeCommand is part of the RemovableFeature abstraction.

preDowngradeCommand creates a DeletionVectorsPreDowngradeCommand (with the given DeltaTableV2).