Table Features¶
Table Features is based on TableFeature abstraction.
A table feature can be a writer, a reader or a reader-writer feature.
There are protocol- and metadata-enabled table features.
A table feature can have dependencies (required features) that have to be enabled in order for the feature to be enabled.
Table features can be examined using DESCRIBE DETAIL.
Table features can be enabled on a delta table using TBLPROPERTIES
.
CREATE TABLE tbl(a int)
USING delta
TBLPROPERTIES (
'delta.enableRowTracking' = 'true'
)
Supported Table Features¶
TableFeature tracks all the supported table features:
- AppendOnlyTableFeature
ChangeDataFeedTableFeature
CheckConstraintsTableFeature
ColumnMappingTableFeature
- DeletionVectorsTableFeature
DomainMetadataTableFeature
GeneratedColumnsTableFeature
IcebergCompatV1TableFeature
InvariantsTableFeature
- RowTrackingFeature
TimestampNTZTableFeature
Legacy Table Features¶
Legacy table features are auto-update capable.
Auto-Update Capable Table Features¶
Table features can be auto-update capable.