2021-10-03 09:47:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define DBMS_MIN_REVISION_WITH_CLIENT_INFO 54032
|
|
|
|
#define DBMS_MIN_REVISION_WITH_SERVER_TIMEZONE 54058
|
|
|
|
#define DBMS_MIN_REVISION_WITH_QUOTA_KEY_IN_CLIENT_INFO 54060
|
|
|
|
#define DBMS_MIN_REVISION_WITH_TABLES_STATUS 54226
|
|
|
|
#define DBMS_MIN_REVISION_WITH_TIME_ZONE_PARAMETER_IN_DATETIME_DATA_TYPE 54337
|
|
|
|
#define DBMS_MIN_REVISION_WITH_SERVER_DISPLAY_NAME 54372
|
|
|
|
#define DBMS_MIN_REVISION_WITH_VERSION_PATCH 54401
|
|
|
|
#define DBMS_MIN_REVISION_WITH_SERVER_LOGS 54406
|
|
|
|
/// Minimum revision with exactly the same set of aggregation methods and rules to select them.
|
|
|
|
/// Two-level (bucketed) aggregation is incompatible if servers are inconsistent in these rules
|
|
|
|
/// (keys will be placed in different buckets and result will not be fully aggregated).
|
2021-10-29 16:18:36 +00:00
|
|
|
#define DBMS_MIN_REVISION_WITH_CURRENT_AGGREGATION_VARIANT_SELECTION_METHOD 54448
|
2021-10-12 11:41:23 +00:00
|
|
|
#define DBMS_MIN_MAJOR_VERSION_WITH_CURRENT_AGGREGATION_VARIANT_SELECTION_METHOD 21
|
|
|
|
#define DBMS_MIN_MINOR_VERSION_WITH_CURRENT_AGGREGATION_VARIANT_SELECTION_METHOD 4
|
2021-10-03 09:47:38 +00:00
|
|
|
#define DBMS_MIN_REVISION_WITH_COLUMN_DEFAULTS_METADATA 54410
|
|
|
|
|
|
|
|
#define DBMS_MIN_REVISION_WITH_LOW_CARDINALITY_TYPE 54405
|
|
|
|
#define DBMS_MIN_REVISION_WITH_CLIENT_WRITE_INFO 54420
|
|
|
|
|
|
|
|
/// Minimum revision supporting SettingsBinaryFormat::STRINGS.
|
|
|
|
#define DBMS_MIN_REVISION_WITH_SETTINGS_SERIALIZED_AS_STRINGS 54429
|
|
|
|
#define DBMS_MIN_REVISION_WITH_SCALARS 54429
|
|
|
|
|
|
|
|
/// Minimum revision supporting OpenTelemetry
|
|
|
|
#define DBMS_MIN_REVISION_WITH_OPENTELEMETRY 54442
|
|
|
|
|
2021-12-02 08:02:07 +00:00
|
|
|
#define DBMS_MIN_REVISION_WITH_AGGREGATE_FUNCTIONS_VERSIONING 54452
|
2021-10-03 09:47:38 +00:00
|
|
|
|
|
|
|
#define DBMS_CLUSTER_PROCESSING_PROTOCOL_VERSION 1
|
|
|
|
|
2023-04-05 11:32:46 +00:00
|
|
|
#define DBMS_PARALLEL_REPLICAS_PROTOCOL_VERSION 2
|
2021-12-09 10:39:28 +00:00
|
|
|
#define DBMS_MIN_REVISION_WITH_PARALLEL_REPLICAS 54453
|
|
|
|
|
2023-02-03 13:34:18 +00:00
|
|
|
#define DBMS_MERGE_TREE_PART_INFO_VERSION 1
|
|
|
|
|
2021-10-03 09:47:38 +00:00
|
|
|
#define DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET 54441
|
|
|
|
|
|
|
|
#define DBMS_MIN_REVISION_WITH_X_FORWARDED_FOR_IN_CLIENT_INFO 54443
|
|
|
|
#define DBMS_MIN_REVISION_WITH_REFERER_IN_CLIENT_INFO 54447
|
|
|
|
|
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_DISTRIBUTED_DEPTH 54448
|
|
|
|
|
2021-11-08 13:43:34 +00:00
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_INCREMENTAL_PROFILE_EVENTS 54451
|
2021-09-20 15:59:27 +00:00
|
|
|
|
2021-12-14 15:58:17 +00:00
|
|
|
#define DBMS_MIN_REVISION_WITH_CUSTOM_SERIALIZATION 54454
|
|
|
|
|
2021-10-03 09:47:38 +00:00
|
|
|
/// Version of ClickHouse TCP protocol.
|
|
|
|
///
|
|
|
|
/// Should be incremented manually on protocol changes.
|
|
|
|
///
|
|
|
|
/// NOTE: DBMS_TCP_PROTOCOL_VERSION has nothing common with VERSION_REVISION,
|
|
|
|
/// later is just a number for server version (one number instead of commit SHA)
|
|
|
|
/// for simplicity (sometimes it may be more convenient in some use cases).
|
2023-03-03 13:52:54 +00:00
|
|
|
#define DBMS_TCP_PROTOCOL_VERSION 54462
|
2021-10-03 09:47:38 +00:00
|
|
|
|
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_INITIAL_QUERY_START_TIME 54449
|
2022-05-20 15:19:40 +00:00
|
|
|
|
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_PROFILE_EVENTS_IN_INSERT 54456
|
2022-07-20 09:51:55 +00:00
|
|
|
|
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_VIEW_IF_PERMITTED 54457
|
2022-08-08 04:55:41 +00:00
|
|
|
|
2022-08-03 20:36:52 +00:00
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_ADDENDUM 54458
|
|
|
|
|
2022-08-03 19:44:08 +00:00
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_QUOTA_KEY 54458
|
2022-08-10 04:28:15 +00:00
|
|
|
|
2022-08-12 12:28:35 +00:00
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_PARAMETERS 54459
|
2022-08-12 14:40:02 +00:00
|
|
|
|
2022-08-08 04:55:41 +00:00
|
|
|
/// The server will send query elapsed run time in the Progress packet.
|
2022-08-12 14:40:02 +00:00
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_SERVER_QUERY_TIME_IN_PROGRESS 54460
|
2022-12-01 02:57:50 +00:00
|
|
|
|
2022-12-11 23:47:43 +00:00
|
|
|
#define DBMS_MIN_PROTOCOL_VERSION_WITH_PASSWORD_COMPLEXITY_RULES 54461
|
2023-03-03 13:52:54 +00:00
|
|
|
|
|
|
|
#define DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET_V2 54462
|