Skip to content

IdentityColumnsTableFeature

IdentityColumnsTableFeature is a LegacyWriterFeature with the following properties:

Feature Property Value
name identityColumns
minWriterVersion 6

IdentityColumnsTableFeature can be enabled via table metadata.

metadataRequiresFeatureToBeEnabled

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

metadataRequiresFeatureToBeEnabled is part of the FeatureAutomaticallyEnabledByMetadata abstraction.

metadataRequiresFeatureToBeEnabled is enabled (true) when the table schema (from the given Metadata) has an identity column.