Skip to content

TableFeatureProtocolUtils

delta.feature Property Prefix

TableFeatureProtocolUtils defines the following property prefix for table features:

delta.feature.

The prefix is used when:

spark.databricks.delta.properties.defaults.feature Property Prefix

TableFeatureProtocolUtils defines the following prefix for the Spark session properties of table features:

spark.databricks.delta.properties.defaults.feature.

The prefix is used when:

isTableProtocolProperty

isTableProtocolProperty(
  key: String): Boolean

isTableProtocolProperty holds true when the given key is one of the following:


isTableProtocolProperty is used when:

getSupportedFeaturesFromTableConfigs

getSupportedFeaturesFromTableConfigs(
  configs: Map[String, String]): Set[TableFeature]

getSupportedFeaturesFromTableConfigs...FIXME


getSupportedFeaturesFromTableConfigs is used when:

Property Key of Table Feature

propertyKey(
  feature: TableFeature): String
propertyKey(
  featureName: String): String

propertyKey is the following text:

delta.feature.[featureName]

propertyKey is used when:

getSupportedFeaturesFromTableConfigs

getSupportedFeaturesFromTableConfigs(
  configs: Map[String, String]): Set[TableFeature]

getSupportedFeaturesFromTableConfigs takes all the delta.feature.-prefixed keys in the given configs collection and makes sure that all supported or enabled.

enabled Deprecated

enabled is deprecated.

If there is a table feature not supported or there's no table feature by a name, getSupportedFeaturesFromTableConfigs reports an exception.


getSupportedFeaturesFromTableConfigs is used when:

Default Session Property Key of Table Property

defaultPropertyKey(
  feature: TableFeature): String
defaultPropertyKey(
  featureName: String): String

defaultPropertyKey is the following text:

spark.databricks.delta.properties.defaults.feature.[featureName]

defaultPropertyKey is used when: