= DeltaConfig -- Configuration Property Of Delta Table (Metadata)
[[T]] DeltaConfig
(of type T
) represents a <T
) in an <
DeltaConfig
can be <
== [[creating-instance]] Creating DeltaConfig Instance
DeltaConfig
takes the following to be created:
- [[key]] Key
- [[defaultValue]] Default value
- [[fromString]] Conversion function (from text representation of the
DeltaConfig
to the <>, i.e. String => T
) - [[validationFunction]] Validation function (that guards from incorrect values, i.e.
T => Boolean
) - [[helpMessage]] Help message
- [[minimumProtocolVersion]] (optional) Minimum version of <
> supported
DeltaConfig
initializes the <
== [[fromMetaData]] Reading Configuration Property From Metadata -- fromMetaData
Method
[source, scala]¶
fromMetaData( metadata: Metadata): T
fromMetaData
looks up the <fromMetaData
gives the <
In the end, fromMetaData
converts the text representation to the proper type using <
[NOTE]¶
fromMetaData
is used when:
-
DeltaLog
is requested for <> and < > table properties, and to < > -
MetadataCleanup
is requested for the <> and the < >