compatibility
Thecompatibility setting causes ClickHouse to use the default settings of a previous version of ClickHouse, where the previous version is provided as the setting.
If settings are set to non-default values, then those settings are honored (only settings that have not been modified are affected by the compatibility setting).
This setting takes a ClickHouse version number as a string, like 22.3, 22.8. An empty value means that this setting is disabled.
Disabled by default.
In ClickHouse Cloud, the service-level default compatibility setting must be set by ClickHouse Cloud support. Please open a case to have it set.
However, the compatibility setting can be overridden at the user, role, profile, query, or session level using standard ClickHouse setting mechanisms such as
SET compatibility = '22.3' in a session or SETTINGS compatibility = '22.3' in a query.