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 delta tables using TBLPROPERTIES
clause of CREATE TABLE or ALTER TABLE SET TBLPROPERTIES commands (new or existing one, respectively).
CREATE TABLE tbl(a int)
USING delta
TBLPROPERTIES (
'delta.enableRowTracking' = 'true'
)
Supported Table Features¶
TableFeature keeps track of all the supported table features, featuring:
- AppendOnlyTableFeature
- ChangeDataFeedTableFeature
- ClusteringTableFeature
- DeletionVectorsTableFeature
- DomainMetadataTableFeature
- RowTrackingFeature
Legacy Table Features¶
Legacy table features are auto-update capable.
Auto-Update Capable Table Features¶
Table features can be auto-update capable.