Skip to main content

SQL_CATALOG_PROP_SCHEMA_VERSION

Constant SQL_CATALOG_PROP_SCHEMA_VERSION 

Source
pub const SQL_CATALOG_PROP_SCHEMA_VERSION: &str = "sql.schema-version";
Expand description

Expected catalog schema version.

If this property is set and it is newer than the detected schema version, a migration will be attempted. If it is older, it is ignored with a warning. If the catalog table didn’t already exist, this value is ignored and it will be created with V1.

V0 is a compatibility mode for catalog tables created before the iceberg_type column existed; it cannot be requested for a new catalog table, since table creation and registration are unsupported on V0.