Table Properties¶
Table Properties are configuration properties that are used on table basis to customize behaviour of delta tables.
DeltaConfigs holds the supported table properties.
Table Properties use delta. prefix.
Table Properties can be set using the following SQL commands:
-
CREATE TABLE (with
TBLPROPERTIESclause) for new delta tables -
ALTER TABLE SET TBLPROPERTIES on existing tables
SHOW TBLPROPERTIES¶
Table properties of a delta table can be displayed using SHOW TBLPROPERTIES SQL command:
+----------------------+-----+
|key |value|
+----------------------+-----+
|delta.minReaderVersion|1 |
|delta.minWriterVersion|2 |
+----------------------+-----+
+----------------------+-----+
|key |value|
+----------------------+-----+
|delta.minReaderVersion|1 |
+----------------------+-----+
ALTER TABLE SET TBLPROPERTIES¶
Table properties can be set a value or unset using ALTER TABLE SQL command: