@clickhouse/client-common 0.2.0-beta1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/client.d.ts +5 -2
- package/dist/client.js +35 -34
- package/dist/client.js.map +1 -1
- package/dist/connection.d.ts +7 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/settings.d.ts +1829 -1350
- package/dist/settings.js +0 -1
- package/dist/settings.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/dist/settings.d.ts
CHANGED
|
@@ -1,1417 +1,1888 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @see {@link https://github.com/ClickHouse/ClickHouse/blob/46ed4f6cdf68fbbdc59fbe0f0bfa9a361cc0dec1/src/Core/Settings.h}
|
|
3
|
-
* @see {@link https://github.com/ClickHouse/ClickHouse/blob/5f84f06d6d26672da3d97d0b236ebb46b5080989/src/Core/Defines.h}
|
|
4
3
|
* @see {@link https://github.com/ClickHouse/ClickHouse/blob/eae2667a1c29565c801be0ffd465f8bfcffe77ef/src/Storages/MergeTree/MergeTreeSettings.h}
|
|
5
4
|
*/
|
|
6
5
|
interface ClickHouseServerSettings {
|
|
7
|
-
/**
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
/**
|
|
6
|
+
/** Write add http CORS header. */
|
|
7
|
+
add_http_cors_header?: Bool;
|
|
8
|
+
/** Additional filter expression which would be applied to query result */
|
|
9
|
+
additional_result_filter?: string;
|
|
10
|
+
/** Additional filter expression which would be applied after reading from specified table. Syntax: {'table1': 'expression', 'database.table2': 'expression'} */
|
|
11
|
+
additional_table_filters?: Map;
|
|
12
|
+
/** Rewrite all aggregate functions in a query, adding -OrNull suffix to them */
|
|
13
|
+
aggregate_functions_null_for_empty?: Bool;
|
|
14
|
+
/** Maximal size of block in bytes accumulated during aggregation in order of primary key. Lower block size allows to parallelize more final merge stage of aggregation. */
|
|
15
|
+
aggregation_in_order_max_block_bytes?: UInt64;
|
|
16
|
+
/** Number of threads to use for merge intermediate aggregation results in memory efficient mode. When bigger, then more memory is consumed. 0 means - same as 'max_threads'. */
|
|
17
|
+
aggregation_memory_efficient_merge_threads?: UInt64;
|
|
18
|
+
/** Enable independent aggregation of partitions on separate threads when partition key suits group by key. Beneficial when number of partitions close to number of cores and partitions have roughly the same size */
|
|
19
|
+
allow_aggregate_partitions_independently?: Bool;
|
|
20
|
+
/** Use background I/O pool to read from MergeTree tables. This setting may increase performance for I/O bound queries */
|
|
21
|
+
allow_asynchronous_read_from_io_pool_for_merge_tree?: Bool;
|
|
22
|
+
/** Allow HedgedConnections to change replica until receiving first data packet */
|
|
23
|
+
allow_changing_replica_until_first_data_packet?: Bool;
|
|
24
|
+
/** Allow CREATE INDEX query without TYPE. Query will be ignored. Made for SQL compatibility tests. */
|
|
25
|
+
allow_create_index_without_type?: Bool;
|
|
26
|
+
/** Enable custom error code in function throwIf(). If true, thrown exceptions may have unexpected error codes. */
|
|
27
|
+
allow_custom_error_code_in_throwif?: Bool;
|
|
28
|
+
/** If it is set to true, then a user is allowed to executed DDL queries. */
|
|
29
|
+
allow_ddl?: Bool;
|
|
30
|
+
/** Allow to create databases with deprecated Ordinary engine */
|
|
31
|
+
allow_deprecated_database_ordinary?: Bool;
|
|
32
|
+
/** Allow to create *MergeTree tables with deprecated engine definition syntax */
|
|
33
|
+
allow_deprecated_syntax_for_merge_tree?: Bool;
|
|
34
|
+
/** If it is set to true, then a user is allowed to executed distributed DDL queries. */
|
|
35
|
+
allow_distributed_ddl?: Bool;
|
|
36
|
+
/** Allow ALTER TABLE ... DROP DETACHED PART[ITION] ... queries */
|
|
37
|
+
allow_drop_detached?: Bool;
|
|
38
|
+
/** Allow execute multiIf function columnar */
|
|
39
|
+
allow_execute_multiif_columnar?: Bool;
|
|
40
|
+
/** Allow atomic alter on Materialized views. Work in progress. */
|
|
41
|
+
allow_experimental_alter_materialized_view_structure?: Bool;
|
|
42
|
+
/** Allow experimental analyzer */
|
|
43
|
+
allow_experimental_analyzer?: Bool;
|
|
44
|
+
/** Allows to use Annoy index. Disabled by default because this feature is experimental */
|
|
45
|
+
allow_experimental_annoy_index?: Bool;
|
|
46
|
+
/** If it is set to true, allow to specify experimental compression codecs (but we don't have those yet and this option does nothing). */
|
|
47
|
+
allow_experimental_codecs?: Bool;
|
|
48
|
+
/** Allow to create database with Engine=MaterializedMySQL(...). */
|
|
49
|
+
allow_experimental_database_materialized_mysql?: Bool;
|
|
50
|
+
/** Allow to create database with Engine=MaterializedPostgreSQL(...). */
|
|
51
|
+
allow_experimental_database_materialized_postgresql?: Bool;
|
|
52
|
+
/** Allow to create databases with Replicated engine */
|
|
53
|
+
allow_experimental_database_replicated?: Bool;
|
|
54
|
+
/** Enable experimental functions for funnel analysis. */
|
|
55
|
+
allow_experimental_funnel_functions?: Bool;
|
|
56
|
+
/** Enable experimental hash functions */
|
|
57
|
+
allow_experimental_hash_functions?: Bool;
|
|
58
|
+
/** If it is set to true, allow to use experimental inverted index. */
|
|
59
|
+
allow_experimental_inverted_index?: Bool;
|
|
60
|
+
/** Enable LIVE VIEW. Not mature enough. */
|
|
61
|
+
allow_experimental_live_view?: Bool;
|
|
62
|
+
/** Enable experimental functions for natural language processing. */
|
|
63
|
+
allow_experimental_nlp_functions?: Bool;
|
|
64
|
+
/** Allow Object and JSON data types */
|
|
65
|
+
allow_experimental_object_type?: Bool;
|
|
66
|
+
/** Use all the replicas from a shard for SELECT query execution. Reading is parallelized and coordinated dynamically. 0 - disabled, 1 - enabled, silently disable them in case of failure, 2 - enabled, throw an exception in case of failure */
|
|
67
|
+
allow_experimental_parallel_reading_from_replicas?: UInt64;
|
|
68
|
+
/** Experimental data deduplication for SELECT queries based on part UUIDs */
|
|
69
|
+
allow_experimental_query_deduplication?: Bool;
|
|
70
|
+
/** Allow to use undrop query to restore dropped table in a limited time */
|
|
71
|
+
allow_experimental_undrop_table_query?: Bool;
|
|
72
|
+
/** Enable WINDOW VIEW. Not mature enough. */
|
|
73
|
+
allow_experimental_window_view?: Bool;
|
|
74
|
+
/** Allow functions that use Hyperscan library. Disable to avoid potentially long compilation times and excessive resource usage. */
|
|
75
|
+
allow_hyperscan?: Bool;
|
|
76
|
+
/** Allow functions for introspection of ELF and DWARF for query profiling. These functions are slow and may impose security considerations. */
|
|
77
|
+
allow_introspection_functions?: Bool;
|
|
78
|
+
/** Allow to execute alters which affects not only tables metadata, but also data on disk */
|
|
79
|
+
allow_non_metadata_alters?: Bool;
|
|
80
|
+
/** Allow non-const timezone arguments in certain time-related functions like toTimeZone(), fromUnixTimestamp*(), snowflakeToDateTime*() */
|
|
81
|
+
allow_nonconst_timezone_arguments?: Bool;
|
|
82
|
+
/** Allow non-deterministic functions in ALTER UPDATE/ALTER DELETE statements */
|
|
83
|
+
allow_nondeterministic_mutations?: Bool;
|
|
84
|
+
/** Allow non-deterministic functions (includes dictGet) in sharding_key for optimize_skip_unused_shards */
|
|
85
|
+
allow_nondeterministic_optimize_skip_unused_shards?: Bool;
|
|
86
|
+
/** Prefer prefethed threadpool if all parts are on remote filesystem */
|
|
87
|
+
allow_prefetched_read_pool_for_local_filesystem?: Bool;
|
|
88
|
+
/** Prefer prefethed threadpool if all parts are on remote filesystem */
|
|
89
|
+
allow_prefetched_read_pool_for_remote_filesystem?: Bool;
|
|
90
|
+
/** Allows push predicate when subquery contains WITH clause */
|
|
91
|
+
allow_push_predicate_when_subquery_contains_with?: Bool;
|
|
92
|
+
/** Allow SETTINGS after FORMAT, but note, that this is not always safe (note: this is a compatibility setting). */
|
|
93
|
+
allow_settings_after_format_in_insert?: Bool;
|
|
94
|
+
/** Allow using simdjson library in 'JSON*' functions if AVX2 instructions are available. If disabled rapidjson will be used. */
|
|
95
|
+
allow_simdjson?: Bool;
|
|
96
|
+
/** If it is set to true, allow to specify meaningless compression codecs. */
|
|
97
|
+
allow_suspicious_codecs?: Bool;
|
|
98
|
+
/** In CREATE TABLE statement allows creating columns of type FixedString(n) with n > 256. FixedString with length >= 256 is suspicious and most likely indicates misusage */
|
|
99
|
+
allow_suspicious_fixed_string_types?: Bool;
|
|
100
|
+
/** Reject primary/secondary indexes and sorting keys with identical expressions */
|
|
101
|
+
allow_suspicious_indices?: Bool;
|
|
102
|
+
/** In CREATE TABLE statement allows specifying LowCardinality modifier for types of small fixed size (8 or less). Enabling this may increase merge times and memory consumption. */
|
|
103
|
+
allow_suspicious_low_cardinality_types?: Bool;
|
|
104
|
+
/** Allow unrestricted (without condition on path) reads from system.zookeeper table, can be handy, but is not safe for zookeeper */
|
|
105
|
+
allow_unrestricted_reads_from_keeper?: Bool;
|
|
106
|
+
/** Output information about affected parts. Currently, works only for FREEZE and ATTACH commands. */
|
|
107
|
+
alter_partition_verbose_result?: Bool;
|
|
108
|
+
/** Wait for actions to manipulate the partitions. 0 - do not wait, 1 - wait for execution only of itself, 2 - wait for everyone. */
|
|
109
|
+
alter_sync?: UInt64;
|
|
110
|
+
/** SELECT queries search up to this many nodes in Annoy indexes. */
|
|
111
|
+
annoy_index_search_k_nodes?: Int64;
|
|
112
|
+
/** Enable old ANY JOIN logic with many-to-one left-to-right table keys mapping for all ANY JOINs. It leads to confusing not equal results for 't1 ANY LEFT JOIN t2' and 't2 ANY RIGHT JOIN t1'. ANY RIGHT JOIN needs one-to-many keys mapping to be consistent with LEFT one. */
|
|
113
|
+
any_join_distinct_right_table_keys?: Bool;
|
|
114
|
+
/** Include ALIAS columns for wildcard query */
|
|
115
|
+
asterisk_include_alias_columns?: Bool;
|
|
116
|
+
/** Include MATERIALIZED columns for wildcard query */
|
|
117
|
+
asterisk_include_materialized_columns?: Bool;
|
|
118
|
+
/** If true, data from INSERT query is stored in queue and later flushed to table in background. If wait_for_async_insert is false, INSERT query is processed almost instantly, otherwise client will wait until data will be flushed to table */
|
|
119
|
+
async_insert?: Bool;
|
|
120
|
+
/** Maximum time to wait before dumping collected data per query since the first data appeared */
|
|
121
|
+
async_insert_busy_timeout_ms?: Milliseconds;
|
|
122
|
+
/** For async INSERT queries in the replicated table, specifies that deduplication of insertings blocks should be performed */
|
|
123
|
+
async_insert_deduplicate?: Bool;
|
|
124
|
+
/** Maximum size in bytes of unparsed data collected per query before being inserted */
|
|
125
|
+
async_insert_max_data_size?: UInt64;
|
|
126
|
+
/** Maximum number of insert queries before being inserted */
|
|
127
|
+
async_insert_max_query_number?: UInt64;
|
|
128
|
+
/** Asynchronously create connections and send query to shards in remote query */
|
|
129
|
+
async_query_sending_for_remote?: Bool;
|
|
130
|
+
/** Asynchronously read from socket executing remote query */
|
|
131
|
+
async_socket_for_remote?: Bool;
|
|
132
|
+
/** Enables or disables creating a new file on each insert in azure engine tables */
|
|
133
|
+
azure_create_new_file_on_insert?: Bool;
|
|
134
|
+
/** Maximum number of files that could be returned in batch by ListObject request */
|
|
135
|
+
azure_list_object_keys_size?: UInt64;
|
|
136
|
+
/** The maximum size of object to upload using singlepart upload to Azure blob storage. */
|
|
137
|
+
azure_max_single_part_upload_size?: UInt64;
|
|
138
|
+
/** The maximum number of retries during single Azure blob storage read. */
|
|
139
|
+
azure_max_single_read_retries?: UInt64;
|
|
140
|
+
/** Enables or disables truncate before insert in azure engine tables. */
|
|
141
|
+
azure_truncate_on_insert?: Bool;
|
|
142
|
+
/** Maximum size of batch for multiread request to [Zoo]Keeper during backup or restore */
|
|
143
|
+
backup_restore_batch_size_for_keeper_multiread?: UInt64;
|
|
144
|
+
/** Approximate probability of failure for a keeper request during backup or restore. Valid value is in interval [0.0f, 1.0f] */
|
|
145
|
+
backup_restore_keeper_fault_injection_probability?: Float;
|
|
146
|
+
/** 0 - random seed, otherwise the setting value */
|
|
147
|
+
backup_restore_keeper_fault_injection_seed?: UInt64;
|
|
148
|
+
/** Max retries for keeper operations during backup or restore */
|
|
149
|
+
backup_restore_keeper_max_retries?: UInt64;
|
|
150
|
+
/** Initial backoff timeout for [Zoo]Keeper operations during backup or restore */
|
|
151
|
+
backup_restore_keeper_retry_initial_backoff_ms?: UInt64;
|
|
152
|
+
/** Max backoff timeout for [Zoo]Keeper operations during backup or restore */
|
|
153
|
+
backup_restore_keeper_retry_max_backoff_ms?: UInt64;
|
|
154
|
+
/** Maximum size of data of a [Zoo]Keeper's node during backup */
|
|
155
|
+
backup_restore_keeper_value_max_size?: UInt64;
|
|
156
|
+
/** Text to represent bool value in TSV/CSV formats. */
|
|
157
|
+
bool_false_representation?: string;
|
|
158
|
+
/** Text to represent bool value in TSV/CSV formats. */
|
|
159
|
+
bool_true_representation?: string;
|
|
160
|
+
/** Calculate text stack trace in case of exceptions during query execution. This is the default. It requires symbol lookups that may slow down fuzzing tests when huge amount of wrong queries are executed. In normal cases you should not disable this option. */
|
|
161
|
+
calculate_text_stack_trace?: Bool;
|
|
162
|
+
/** Cancel HTTP readonly queries when a client closes the connection without waiting for response. */
|
|
163
|
+
cancel_http_readonly_queries_on_client_close?: Bool;
|
|
164
|
+
/** CAST operator into IPv4, CAST operator into IPV6 type, toIPv4, toIPv6 functions will return default value instead of throwing exception on conversion error. */
|
|
165
|
+
cast_ipv4_ipv6_default_on_conversion_error?: Bool;
|
|
166
|
+
/** CAST operator keep Nullable for result data type */
|
|
167
|
+
cast_keep_nullable?: Bool;
|
|
168
|
+
/** Return check query result as single 1/0 value */
|
|
169
|
+
check_query_single_value_result?: Bool;
|
|
170
|
+
/** Check that DDL query (such as DROP TABLE or RENAME) will not break referential dependencies */
|
|
171
|
+
check_referential_table_dependencies?: Bool;
|
|
172
|
+
/** Check that DDL query (such as DROP TABLE or RENAME) will not break dependencies */
|
|
173
|
+
check_table_dependencies?: Bool;
|
|
174
|
+
/** Validate checksums on reading. It is enabled by default and should be always enabled in production. Please do not expect any benefits in disabling this setting. It may only be used for experiments and benchmarks. The setting only applicable for tables of MergeTree family. Checksums are always validated for other table engines and when receiving data over network. */
|
|
175
|
+
checksum_on_read?: Bool;
|
|
176
|
+
/** Cluster for a shard in which current server is located */
|
|
177
|
+
cluster_for_parallel_replicas?: string;
|
|
178
|
+
/** Enable collecting hash table statistics to optimize memory allocation */
|
|
179
|
+
collect_hash_table_stats_during_aggregation?: Bool;
|
|
180
|
+
/** The list of column names to use in schema inference for formats without column names. The format: 'column1,column2,column3,...' */
|
|
181
|
+
column_names_for_schema_inference?: string;
|
|
182
|
+
/** Changes other settings according to provided ClickHouse version. If we know that we changed some behaviour in ClickHouse by changing some settings in some version, this compatibility setting will control these settings */
|
|
183
|
+
compatibility?: string;
|
|
184
|
+
/** Ignore AUTO_INCREMENT keyword in column declaration if true, otherwise return error. It simplifies migration from MySQL */
|
|
185
|
+
compatibility_ignore_auto_increment_in_create_table?: Bool;
|
|
186
|
+
/** Compatibility ignore collation in create table */
|
|
187
|
+
compatibility_ignore_collation_in_create_table?: Bool;
|
|
188
|
+
/** Compile aggregate functions to native code. This feature has a bug and should not be used. */
|
|
189
|
+
compile_aggregate_expressions?: Bool;
|
|
190
|
+
/** Compile some scalar functions and operators to native code. */
|
|
191
|
+
compile_expressions?: Bool;
|
|
192
|
+
/** Compile sort description to native code. */
|
|
193
|
+
compile_sort_description?: Bool;
|
|
194
|
+
/** Connection timeout if there are no replicas. */
|
|
46
195
|
connect_timeout?: Seconds;
|
|
47
|
-
/** Connection timeout for selecting first healthy replica.
|
|
196
|
+
/** Connection timeout for selecting first healthy replica. */
|
|
48
197
|
connect_timeout_with_failover_ms?: Milliseconds;
|
|
49
|
-
/** Connection timeout for selecting first healthy replica (for secure connections).
|
|
198
|
+
/** Connection timeout for selecting first healthy replica (for secure connections). */
|
|
50
199
|
connect_timeout_with_failover_secure_ms?: Milliseconds;
|
|
51
|
-
/**
|
|
52
|
-
receive_timeout?: Seconds;
|
|
53
|
-
/** (default: 300) */
|
|
54
|
-
send_timeout?: Seconds;
|
|
55
|
-
/** Timeout for draining remote connections (default: 3) */
|
|
56
|
-
drain_timeout?: Seconds;
|
|
57
|
-
/** The time in seconds the connection needs to remain idle before TCP starts sending keepalive probes (default: 290 (less than 300)) */
|
|
58
|
-
tcp_keep_alive_timeout?: Seconds;
|
|
59
|
-
/** Connection timeout for establishing connection with replica for Hedged requests (default: 100) */
|
|
60
|
-
hedged_connection_timeout_ms?: Milliseconds;
|
|
61
|
-
/** Connection timeout for receiving first packet of data or packet with positive progress from replica (default: 2000) */
|
|
62
|
-
receive_data_timeout_ms?: Milliseconds;
|
|
63
|
-
/** Use hedged requests for distributed queries (default: true) */
|
|
64
|
-
use_hedged_requests?: Bool;
|
|
65
|
-
/** Allow HedgedConnections to change replica until receiving first data packet (default: false) */
|
|
66
|
-
allow_changing_replica_until_first_data_packet?: Bool;
|
|
67
|
-
/** The wait time in the request queue (default: 0) */
|
|
68
|
-
queue_max_wait_ms?: Milliseconds;
|
|
69
|
-
/** The wait time when the connection pool is full. (default: 0) */
|
|
200
|
+
/** The wait time when the connection pool is full. */
|
|
70
201
|
connection_pool_max_wait_ms?: Milliseconds;
|
|
71
|
-
/** The
|
|
72
|
-
replace_running_query_max_wait_ms?: Milliseconds;
|
|
73
|
-
/** The wait time for reading from Kafka before retry. (default: 5000) */
|
|
74
|
-
kafka_max_wait_ms?: Milliseconds;
|
|
75
|
-
/** The wait time for reading from RabbitMQ before retry. (default: 5000) */
|
|
76
|
-
rabbitmq_max_wait_ms?: Milliseconds;
|
|
77
|
-
/** Block at the query wait loop on the server for the specified number of seconds. (default: 10) */
|
|
78
|
-
poll_interval?: UInt64;
|
|
79
|
-
/** Close idle TCP connections after specified number of seconds. (default: 3600) */
|
|
80
|
-
idle_connection_timeout?: UInt64;
|
|
81
|
-
/** Maximum number of connections with one remote server in the pool. (default: 1024) */
|
|
82
|
-
distributed_connections_pool_size?: UInt64;
|
|
83
|
-
/** The maximum number of attempts to connect to replicas. (default: 3) */
|
|
202
|
+
/** The maximum number of attempts to connect to replicas. */
|
|
84
203
|
connections_with_failover_max_tries?: UInt64;
|
|
85
|
-
/**
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
|
|
135
|
-
/**
|
|
204
|
+
/** Convert SELECT query to CNF */
|
|
205
|
+
convert_query_to_cnf?: Bool;
|
|
206
|
+
/** What aggregate function to use for implementation of count(DISTINCT ...) */
|
|
207
|
+
count_distinct_implementation?: string;
|
|
208
|
+
/** Rewrite count distinct to subquery of group by */
|
|
209
|
+
count_distinct_optimization?: Bool;
|
|
210
|
+
/** Use inner join instead of comma/cross join if there're joining expressions in the WHERE section. Values: 0 - no rewrite, 1 - apply if possible for comma/cross, 2 - force rewrite all comma joins, cross - if possible */
|
|
211
|
+
cross_to_inner_join_rewrite?: UInt64;
|
|
212
|
+
/** Data types without NULL or NOT NULL will make Nullable */
|
|
213
|
+
data_type_default_nullable?: Bool;
|
|
214
|
+
/** When executing DROP or DETACH TABLE in Atomic database, wait for table data to be finally dropped or detached. */
|
|
215
|
+
database_atomic_wait_for_drop_and_detach_synchronously?: Bool;
|
|
216
|
+
/** Allow to create only Replicated tables in database with engine Replicated */
|
|
217
|
+
database_replicated_allow_only_replicated_engine?: Bool;
|
|
218
|
+
/** Allow to create only Replicated tables in database with engine Replicated with explicit arguments */
|
|
219
|
+
database_replicated_allow_replicated_engine_arguments?: Bool;
|
|
220
|
+
/** Execute DETACH TABLE as DETACH TABLE PERMANENTLY if database engine is Replicated */
|
|
221
|
+
database_replicated_always_detach_permanently?: Bool;
|
|
222
|
+
/** Enforces synchronous waiting for some queries (see also database_atomic_wait_for_drop_and_detach_synchronously, mutation_sync, alter_sync). Not recommended to enable these settings. */
|
|
223
|
+
database_replicated_enforce_synchronous_settings?: Bool;
|
|
224
|
+
/** How long initial DDL query should wait for Replicated database to precess previous DDL queue entries */
|
|
225
|
+
database_replicated_initial_query_timeout_sec?: UInt64;
|
|
226
|
+
/** Method to read DateTime from text input formats. Possible values: 'basic', 'best_effort' and 'best_effort_us'. */
|
|
227
|
+
date_time_input_format?: DateTimeInputFormat;
|
|
228
|
+
/** Method to write DateTime to text output. Possible values: 'simple', 'iso', 'unix_timestamp'. */
|
|
229
|
+
date_time_output_format?: DateTimeOutputFormat;
|
|
230
|
+
/** Check overflow of decimal arithmetic/comparison operations */
|
|
231
|
+
decimal_check_overflow?: Bool;
|
|
232
|
+
/** Should deduplicate blocks for materialized views if the block is not a duplicate for the table. Use true to always deduplicate in dependent tables. */
|
|
233
|
+
deduplicate_blocks_in_dependent_materialized_views?: Bool;
|
|
234
|
+
/** Maximum size of right-side table if limit is required but max_bytes_in_join is not set. */
|
|
235
|
+
default_max_bytes_in_join?: UInt64;
|
|
236
|
+
/** Default table engine used when ENGINE is not set in CREATE statement. */
|
|
237
|
+
default_table_engine?: DefaultTableEngine;
|
|
238
|
+
/** Default table engine used when ENGINE is not set in CREATE TEMPORARY statement. */
|
|
239
|
+
default_temporary_table_engine?: DefaultTableEngine;
|
|
240
|
+
/** Deduce concrete type of columns of type Object in DESCRIBE query */
|
|
241
|
+
describe_extend_object_types?: Bool;
|
|
242
|
+
/** If true, subcolumns of all table columns will be included into result of DESCRIBE query */
|
|
243
|
+
describe_include_subcolumns?: Bool;
|
|
244
|
+
/** Which dialect will be used to parse query */
|
|
245
|
+
dialect?: Dialect;
|
|
246
|
+
/** Execute a pipeline for reading from a dictionary with several threads. It's supported only by DIRECT dictionary with CLICKHOUSE source. */
|
|
247
|
+
dictionary_use_async_executor?: Bool;
|
|
248
|
+
/** Allows to disable decoding/encoding path in uri in URL table engine */
|
|
249
|
+
disable_url_encoding?: Bool;
|
|
250
|
+
/** What to do when the limit is exceeded. */
|
|
251
|
+
distinct_overflow_mode?: OverflowMode;
|
|
252
|
+
/** Is the memory-saving mode of distributed aggregation enabled. */
|
|
253
|
+
distributed_aggregation_memory_efficient?: Bool;
|
|
254
|
+
/** Maximum number of connections with one remote server in the pool. */
|
|
255
|
+
distributed_connections_pool_size?: UInt64;
|
|
256
|
+
/** Compatibility version of distributed DDL (ON CLUSTER) queries */
|
|
257
|
+
distributed_ddl_entry_format_version?: UInt64;
|
|
258
|
+
/** Format of distributed DDL query result */
|
|
259
|
+
distributed_ddl_output_mode?: DistributedDDLOutputMode;
|
|
260
|
+
/** Timeout for DDL query responses from all hosts in cluster. If a ddl request has not been performed on all hosts, a response will contain a timeout error and a request will be executed in an async mode. Negative value means infinite. Zero means async mode. */
|
|
261
|
+
distributed_ddl_task_timeout?: Int64;
|
|
262
|
+
/** Should StorageDistributed DirectoryMonitors try to batch individual inserts into bigger ones. */
|
|
136
263
|
distributed_directory_monitor_batch_inserts?: Bool;
|
|
137
|
-
/**
|
|
264
|
+
/** Maximum sleep time for StorageDistributed DirectoryMonitors, it limits exponential growth too. */
|
|
265
|
+
distributed_directory_monitor_max_sleep_time_ms?: Milliseconds;
|
|
266
|
+
/** Sleep time for StorageDistributed DirectoryMonitors, in case of any errors delay grows exponentially. */
|
|
267
|
+
distributed_directory_monitor_sleep_time_ms?: Milliseconds;
|
|
268
|
+
/** Should StorageDistributed DirectoryMonitors try to split batch into smaller in case of failures. */
|
|
138
269
|
distributed_directory_monitor_split_batch_on_failure?: Bool;
|
|
139
|
-
/**
|
|
140
|
-
optimize_move_to_prewhere?: Bool;
|
|
141
|
-
/** If query has `FINAL` (default: false) */
|
|
142
|
-
optimize_move_to_prewhere_if_final?: Bool;
|
|
143
|
-
/** Wait for actions to manipulate the partitions. 0 - do not wait (default: 1) */
|
|
144
|
-
replication_alter_partitions_sync?: UInt64;
|
|
145
|
-
/** Wait for inactive replica to execute ALTER/OPTIMIZE. Time in seconds (default: 120) */
|
|
146
|
-
replication_wait_for_inactive_replica_timeout?: Int64;
|
|
147
|
-
/** Which replicas (among healthy replicas) to preferably send a query to (on the first attempt) for distributed processing. (default: 'random') */
|
|
148
|
-
load_balancing?: LoadBalancing;
|
|
149
|
-
/** Which replica to preferably send a query when FIRST_OR_RANDOM load balancing strategy is used. (default: 0) */
|
|
150
|
-
load_balancing_first_offset?: UInt64;
|
|
151
|
-
/** How to calculate TOTALS when HAVING is present (default: 'after_having_exclusive') */
|
|
152
|
-
totals_mode?: TotalsMode;
|
|
153
|
-
/** The threshold for totals_mode = 'auto'. (default: 0.5) */
|
|
154
|
-
totals_auto_threshold?: Float;
|
|
155
|
-
/** In CREATE TABLE statement allows specifying LowCardinality modifier for types of small fixed size (8 or less). Enabling this may increase merge times and memory consumption. (default: false) */
|
|
156
|
-
allow_suspicious_low_cardinality_types?: Bool;
|
|
157
|
-
/** Compile some scalar functions and operators to native code. (default: true) */
|
|
158
|
-
compile_expressions?: Bool;
|
|
159
|
-
/** The number of identical expressions before they are JIT-compiled (default: 3) */
|
|
160
|
-
min_count_to_compile_expression?: UInt64;
|
|
161
|
-
/** Compile aggregate functions to native code. (default: true) */
|
|
162
|
-
compile_aggregate_expressions?: Bool;
|
|
163
|
-
/** The number of identical aggregate expressions before they are JIT-compiled (default: 3) */
|
|
164
|
-
min_count_to_compile_aggregate_expression?: UInt64;
|
|
165
|
-
/** Compile sort description to native code. (default: true) */
|
|
166
|
-
compile_sort_description?: Bool;
|
|
167
|
-
/** The number of identical sort descriptions before they are JIT-compiled (default: 3) */
|
|
168
|
-
min_count_to_compile_sort_description?: UInt64;
|
|
169
|
-
/** From what number of keys (default: 100000) */
|
|
170
|
-
group_by_two_level_threshold?: UInt64;
|
|
171
|
-
/** From what size of the aggregation state in bytes (default: 50000000) */
|
|
172
|
-
group_by_two_level_threshold_bytes?: UInt64;
|
|
173
|
-
/** Is the memory-saving mode of distributed aggregation enabled. (default: true) */
|
|
174
|
-
distributed_aggregation_memory_efficient?: Bool;
|
|
175
|
-
/** Number of threads to use for merge intermediate aggregation results in memory efficient mode. When bigger (default: 0) */
|
|
176
|
-
aggregation_memory_efficient_merge_threads?: UInt64;
|
|
177
|
-
/** Enable positional arguments in ORDER BY (default: true) */
|
|
178
|
-
enable_positional_arguments?: Bool;
|
|
179
|
-
/** Treat columns mentioned in ROLLUP (default: false) */
|
|
180
|
-
group_by_use_nulls?: Bool;
|
|
181
|
-
/** The maximum number of replicas of each shard used when the query is executed. For consistency (to get different parts of the same partition) (default: 1) */
|
|
182
|
-
max_parallel_replicas?: UInt64;
|
|
183
|
-
/** " (default: 0) */
|
|
184
|
-
parallel_replicas_count?: UInt64;
|
|
185
|
-
/** " (default: 0) */
|
|
186
|
-
parallel_replica_offset?: UInt64;
|
|
187
|
-
/** If true (default: false) */
|
|
188
|
-
allow_experimental_parallel_reading_from_replicas?: Bool;
|
|
189
|
-
/** If true (default: false) */
|
|
190
|
-
skip_unavailable_shards?: Bool;
|
|
191
|
-
/** Process distributed INSERT SELECT query in the same cluster on local tables on every shard; if set to 1 - SELECT is executed on each shard; if set to 2 - SELECT and INSERT are executed on each shard (default: 0) */
|
|
192
|
-
parallel_distributed_insert_select?: UInt64;
|
|
193
|
-
/** If 1 (default: 0) */
|
|
270
|
+
/** If 1, Do not merge aggregation states from different servers for distributed queries (shards will process query up to the Complete stage, initiator just proxies the data from the shards). If 2 the initiator will apply ORDER BY and LIMIT stages (it is not in case when shard process query up to the Complete stage) */
|
|
194
271
|
distributed_group_by_no_merge?: UInt64;
|
|
195
|
-
/**
|
|
272
|
+
/** How are distributed subqueries performed inside IN or JOIN sections? */
|
|
273
|
+
distributed_product_mode?: DistributedProductMode;
|
|
274
|
+
/** If 1, LIMIT will be applied on each shard separately. Usually you don't need to use it, since this will be done automatically if it is possible, i.e. for simple query SELECT FROM LIMIT. */
|
|
196
275
|
distributed_push_down_limit?: UInt64;
|
|
197
|
-
/**
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
optimize_skip_unused_shards_rewrite_in?: Bool;
|
|
205
|
-
/** Allow non-deterministic functions (includes dictGet) in sharding_key for optimize_skip_unused_shards (default: false) */
|
|
206
|
-
allow_nondeterministic_optimize_skip_unused_shards?: Bool;
|
|
207
|
-
/** Throw an exception if unused shards cannot be skipped (1 - throw only if the table has the sharding key (default: 0) */
|
|
208
|
-
force_optimize_skip_unused_shards?: UInt64;
|
|
209
|
-
/** Same as optimize_skip_unused_shards (default: 0) */
|
|
210
|
-
optimize_skip_unused_shards_nesting?: UInt64;
|
|
211
|
-
/** Same as force_optimize_skip_unused_shards (default: 0) */
|
|
212
|
-
force_optimize_skip_unused_shards_nesting?: UInt64;
|
|
213
|
-
/** Enable parallel parsing for some data formats. (default: true) */
|
|
214
|
-
input_format_parallel_parsing?: Bool;
|
|
215
|
-
/** The minimum chunk size in bytes (default: (10 * 1024 * 1024)) */
|
|
216
|
-
min_chunk_bytes_for_parallel_parsing?: UInt64;
|
|
217
|
-
/** Enable parallel formatting for some data formats. (default: true) */
|
|
218
|
-
output_format_parallel_formatting?: Bool;
|
|
219
|
-
/** If at least as many lines are read from one file (default: (20 * 8192)) */
|
|
220
|
-
merge_tree_min_rows_for_concurrent_read?: UInt64;
|
|
221
|
-
/** If at least as many bytes are read from one file (default: (24 * 10 * 1024 * 1024)) */
|
|
222
|
-
merge_tree_min_bytes_for_concurrent_read?: UInt64;
|
|
223
|
-
/** You can skip reading more than that number of rows at the price of one seek per file. (default: 0) */
|
|
224
|
-
merge_tree_min_rows_for_seek?: UInt64;
|
|
225
|
-
/** You can skip reading more than that number of bytes at the price of one seek per file. (default: 0) */
|
|
226
|
-
merge_tree_min_bytes_for_seek?: UInt64;
|
|
227
|
-
/** If the index segment can contain the required keys (default: 8) */
|
|
228
|
-
merge_tree_coarse_index_granularity?: UInt64;
|
|
229
|
-
/** The maximum number of rows per request (default: (128 * 8192)) */
|
|
230
|
-
merge_tree_max_rows_to_use_cache?: UInt64;
|
|
231
|
-
/** The maximum number of bytes per request (default: (192 * 10 * 1024 * 1024)) */
|
|
232
|
-
merge_tree_max_bytes_to_use_cache?: UInt64;
|
|
233
|
-
/** Merge parts only in one partition in select final (default: false) */
|
|
276
|
+
/** Max number of errors per replica, prevents piling up an incredible amount of errors if replica was offline for some time and allows it to be reconsidered in a shorter amount of time. */
|
|
277
|
+
distributed_replica_error_cap?: UInt64;
|
|
278
|
+
/** Time period reduces replica error counter by 2 times. */
|
|
279
|
+
distributed_replica_error_half_life?: Seconds;
|
|
280
|
+
/** Number of errors that will be ignored while choosing replicas */
|
|
281
|
+
distributed_replica_max_ignored_errors?: UInt64;
|
|
282
|
+
/** Merge parts only in one partition in select final */
|
|
234
283
|
do_not_merge_across_partitions_select_final?: Bool;
|
|
235
|
-
/**
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
|
|
245
|
-
/**
|
|
284
|
+
/** Return empty result when aggregating by constant keys on empty set. */
|
|
285
|
+
empty_result_for_aggregation_by_constant_keys_on_empty_set?: Bool;
|
|
286
|
+
/** Return empty result when aggregating without keys on empty set. */
|
|
287
|
+
empty_result_for_aggregation_by_empty_set?: Bool;
|
|
288
|
+
/** Enable/disable the DEFLATE_QPL codec. */
|
|
289
|
+
enable_deflate_qpl_codec?: Bool;
|
|
290
|
+
/** Enable query optimization where we analyze function and subqueries results and rewrite query if there're constants there */
|
|
291
|
+
enable_early_constant_folding?: Bool;
|
|
292
|
+
/** Enable date functions like toLastDayOfMonth return Date32 results (instead of Date results) for Date32/DateTime64 arguments. */
|
|
293
|
+
enable_extended_results_for_datetime_functions?: Bool;
|
|
294
|
+
/** Use cache for remote filesystem. This setting does not turn on/off cache for disks (must be done via disk config), but allows to bypass cache for some queries if intended */
|
|
295
|
+
enable_filesystem_cache?: Bool;
|
|
296
|
+
/** Allows to record the filesystem caching log for each query */
|
|
297
|
+
enable_filesystem_cache_log?: Bool;
|
|
298
|
+
/** Write into cache on write operations. To actually work this setting requires be added to disk config too */
|
|
299
|
+
enable_filesystem_cache_on_write_operations?: Bool;
|
|
300
|
+
/** Log to system.filesystem prefetch_log during query. Should be used only for testing or debugging, not recommended to be turned on by default */
|
|
301
|
+
enable_filesystem_read_prefetches_log?: Bool;
|
|
302
|
+
/** Propagate WITH statements to UNION queries and all subqueries */
|
|
303
|
+
enable_global_with_statement?: Bool;
|
|
304
|
+
/** Compress the result if the client over HTTP said that it understands data compressed by gzip or deflate. */
|
|
305
|
+
enable_http_compression?: Bool;
|
|
306
|
+
/** Output stack trace of a job creator when job results in exception */
|
|
307
|
+
enable_job_stack_trace?: Bool;
|
|
308
|
+
/** Enable lightweight DELETE mutations for mergetree tables. */
|
|
309
|
+
enable_lightweight_delete?: Bool;
|
|
310
|
+
/** Enable memory bound merging strategy for aggregation. */
|
|
311
|
+
enable_memory_bound_merging_of_aggregation_results?: Bool;
|
|
312
|
+
/** Move more conditions from WHERE to PREWHERE and do reads from disk and filtering in multiple steps if there are multiple conditions combined with AND */
|
|
313
|
+
enable_multiple_prewhere_read_steps?: Bool;
|
|
314
|
+
/** If it is set to true, optimize predicates to subqueries. */
|
|
315
|
+
enable_optimize_predicate_expression?: Bool;
|
|
316
|
+
/** Allow push predicate to final subquery. */
|
|
317
|
+
enable_optimize_predicate_expression_to_final_subquery?: Bool;
|
|
318
|
+
/** Enable positional arguments in ORDER BY, GROUP BY and LIMIT BY */
|
|
319
|
+
enable_positional_arguments?: Bool;
|
|
320
|
+
/** Enable reading results of SELECT queries from the query cache */
|
|
321
|
+
enable_reads_from_query_cache?: Bool;
|
|
322
|
+
/** Enable very explicit logging of S3 requests. Makes sense for debug only. */
|
|
323
|
+
enable_s3_requests_logging?: Bool;
|
|
324
|
+
/** If it is set to true, prevent scalar subqueries from (de)serializing large scalar values and possibly avoid running the same subquery more than once. */
|
|
325
|
+
enable_scalar_subquery_optimization?: Bool;
|
|
326
|
+
/** Allow sharing set objects build for IN subqueries between different tasks of the same mutation. This reduces memory usage and CPU consumption */
|
|
327
|
+
enable_sharing_sets_for_mutations?: Bool;
|
|
328
|
+
/** Enable use of software prefetch in aggregation */
|
|
329
|
+
enable_software_prefetch_in_aggregation?: Bool;
|
|
330
|
+
/** Allow ARRAY JOIN with multiple arrays that have different sizes. When this settings is enabled, arrays will be resized to the longest one. */
|
|
331
|
+
enable_unaligned_array_join?: Bool;
|
|
332
|
+
/** Enable storing results of SELECT queries in the query cache */
|
|
333
|
+
enable_writes_to_query_cache?: Bool;
|
|
334
|
+
/** Enables or disables creating a new file on each insert in file engine tables if format has suffix. */
|
|
335
|
+
engine_file_allow_create_multiple_files?: Bool;
|
|
336
|
+
/** Allows to select data from a file engine table without file */
|
|
337
|
+
engine_file_empty_if_not_exists?: Bool;
|
|
338
|
+
/** Allows to skip empty files in file table engine */
|
|
339
|
+
engine_file_skip_empty_files?: Bool;
|
|
340
|
+
/** Enables or disables truncate before insert in file engine tables */
|
|
341
|
+
engine_file_truncate_on_insert?: Bool;
|
|
342
|
+
/** Allows to skip empty files in url table engine */
|
|
343
|
+
engine_url_skip_empty_files?: Bool;
|
|
344
|
+
/** Method to write Errors to text output. */
|
|
345
|
+
errors_output_format?: string;
|
|
346
|
+
/** When enabled, ClickHouse will provide exact value for rows_before_limit_at_least statistic, but with the cost that the data before limit will have to be read completely */
|
|
347
|
+
exact_rows_before_limit?: Bool;
|
|
348
|
+
/** Set default mode in EXCEPT query. Possible values: empty string, 'ALL', 'DISTINCT'. If empty, query without mode will throw exception. */
|
|
349
|
+
except_default_mode?: SetOperationMode;
|
|
350
|
+
/** Connect timeout in seconds. Now supported only for MySQL */
|
|
351
|
+
external_storage_connect_timeout_sec?: UInt64;
|
|
352
|
+
/** Limit maximum number of bytes when table with external engine should flush history data. Now supported only for MySQL table engine, database engine, dictionary and MaterializedMySQL. If equal to 0, this setting is disabled */
|
|
353
|
+
external_storage_max_read_bytes?: UInt64;
|
|
354
|
+
/** Limit maximum number of rows when table with external engine should flush history data. Now supported only for MySQL table engine, database engine, dictionary and MaterializedMySQL. If equal to 0, this setting is disabled */
|
|
355
|
+
external_storage_max_read_rows?: UInt64;
|
|
356
|
+
/** Read/write timeout in seconds. Now supported only for MySQL */
|
|
357
|
+
external_storage_rw_timeout_sec?: UInt64;
|
|
358
|
+
/** If it is set to true, external table functions will implicitly use Nullable type if needed. Otherwise NULLs will be substituted with default values. Currently supported only by 'mysql', 'postgresql' and 'odbc' table functions. */
|
|
359
|
+
external_table_functions_use_nulls?: Bool;
|
|
360
|
+
/** If it is set to true, transforming expression to local filter is forbidden for queries to external tables. */
|
|
361
|
+
external_table_strict_query?: Bool;
|
|
362
|
+
/** Max number pairs that can be produced by extractKeyValuePairs function. Used to safeguard against consuming too much memory. */
|
|
363
|
+
extract_kvp_max_pairs_per_row?: UInt64;
|
|
364
|
+
/** Calculate minimums and maximums of the result columns. They can be output in JSON-formats. */
|
|
365
|
+
extremes?: Bool;
|
|
366
|
+
/** Suppose max_replica_delay_for_distributed_queries is set and all replicas for the queried table are stale. If this setting is enabled, the query will be performed anyway, otherwise the error will be reported. */
|
|
367
|
+
fallback_to_stale_replicas_for_distributed_queries?: Bool;
|
|
368
|
+
/** Max remote filesystem cache size that can be downloaded by a single query */
|
|
369
|
+
filesystem_cache_max_download_size?: UInt64;
|
|
370
|
+
/** Maximum memory usage for prefetches. Zero means unlimited */
|
|
371
|
+
filesystem_prefetch_max_memory_usage?: UInt64;
|
|
372
|
+
/** Do not parallelize within one file read less than this amount of bytes. E.g. one reader will not receive a read task of size less than this amount. This setting is recommended to avoid spikes of time for aws getObject requests to aws */
|
|
373
|
+
filesystem_prefetch_min_bytes_for_single_read_task?: UInt64;
|
|
374
|
+
/** Prefetch step in bytes. Zero means `auto` - approximately the best prefetch step will be auto deduced, but might not be 100% the best. The actual value might be different because of setting filesystem_prefetch_min_bytes_for_single_read_task */
|
|
375
|
+
filesystem_prefetch_step_bytes?: UInt64;
|
|
376
|
+
/** Prefetch step in marks. Zero means `auto` - approximately the best prefetch step will be auto deduced, but might not be 100% the best. The actual value might be different because of setting filesystem_prefetch_min_bytes_for_single_read_task */
|
|
377
|
+
filesystem_prefetch_step_marks?: UInt64;
|
|
378
|
+
/** Maximum number of prefetches. Zero means unlimited. A setting `filesystem_prefetches_max_memory_usage` is more recommended if you want to limit the number of prefetches */
|
|
379
|
+
filesystem_prefetches_limit?: UInt64;
|
|
380
|
+
/** Query with the FINAL modifier by default. If the engine does not support final, it does not have any effect. On queries with multiple tables final is applied only on those that support it. It also works on distributed tables */
|
|
381
|
+
final?: Bool;
|
|
382
|
+
/** If true, columns of type Nested will be flattened to separate array columns instead of one array of tuples */
|
|
383
|
+
flatten_nested?: Bool;
|
|
384
|
+
/** Force the use of optimization when it is applicable, but heuristics decided not to use it */
|
|
385
|
+
force_aggregate_partitions_independently?: Bool;
|
|
386
|
+
/** Force use of aggregation in order on remote nodes during distributed aggregation. PLEASE, NEVER CHANGE THIS SETTING VALUE MANUALLY! */
|
|
387
|
+
force_aggregation_in_order?: Bool;
|
|
388
|
+
/** Comma separated list of strings or literals with the name of the data skipping indices that should be used during query execution, otherwise an exception will be thrown. */
|
|
389
|
+
force_data_skipping_indices?: string;
|
|
390
|
+
/** Make GROUPING function to return 1 when argument is not used as an aggregation key */
|
|
391
|
+
force_grouping_standard_compatibility?: Bool;
|
|
392
|
+
/** Throw an exception if there is a partition key in a table, and it is not used. */
|
|
246
393
|
force_index_by_date?: Bool;
|
|
247
|
-
/**
|
|
394
|
+
/** If projection optimization is enabled, SELECT queries need to use projection */
|
|
395
|
+
force_optimize_projection?: Bool;
|
|
396
|
+
/** Throw an exception if unused shards cannot be skipped (1 - throw only if the table has the sharding key, 2 - always throw. */
|
|
397
|
+
force_optimize_skip_unused_shards?: UInt64;
|
|
398
|
+
/** Same as force_optimize_skip_unused_shards, but accept nesting level until which it will work. */
|
|
399
|
+
force_optimize_skip_unused_shards_nesting?: UInt64;
|
|
400
|
+
/** Throw an exception if there is primary key in a table, and it is not used. */
|
|
248
401
|
force_primary_key?: Bool;
|
|
249
|
-
/**
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
read_backoff_min_interval_between_events_ms?: Milliseconds;
|
|
307
|
-
/** Settings to reduce the number of threads in case of slow reads. The number of events after which the number of threads will be reduced. (default: 2) */
|
|
308
|
-
read_backoff_min_events?: UInt64;
|
|
309
|
-
/** Settings to try keeping the minimal number of threads in case of slow reads. (default: 1) */
|
|
310
|
-
read_backoff_min_concurrency?: UInt64;
|
|
311
|
-
/** For testing of `exception safety` - throw an exception every time you allocate memory with the specified probability. (default: 0.) */
|
|
312
|
-
memory_tracker_fault_probability?: Float;
|
|
313
|
-
/** Compress the result if the client over HTTP said that it understands data compressed by gzip or deflate. (default: false) */
|
|
314
|
-
enable_http_compression?: Bool;
|
|
315
|
-
/** Compression level - used if the client on HTTP said that it understands data compressed by gzip or deflate. (default: 3) */
|
|
316
|
-
http_zlib_compression_level?: Int64;
|
|
317
|
-
/** If you uncompress the POST data from the client compressed by the native format (default: false) */
|
|
318
|
-
http_native_compression_disable_checksumming_on_decompress?: Bool;
|
|
319
|
-
/** What aggregate function to use for implementation of count(DISTINCT ...) (default: "uniqExact") */
|
|
320
|
-
count_distinct_implementation?: string;
|
|
321
|
-
/** Write add http CORS header. (default: false) */
|
|
322
|
-
add_http_cors_header?: Bool;
|
|
323
|
-
/** Max number of http GET redirects hops allowed. Make sure additional security measures are in place to prevent a malicious server to redirect your requests to unexpected services. (default: 0) */
|
|
324
|
-
max_http_get_redirects?: UInt64;
|
|
325
|
-
/** Use client timezone for interpreting DateTime string values (default: false) */
|
|
326
|
-
use_client_time_zone?: Bool;
|
|
327
|
-
/** Send progress notifications using X-ClickHouse-Progress headers. Some clients do not support high amount of HTTP headers (Python requests in particular) (default: false) */
|
|
328
|
-
send_progress_in_http_headers?: Bool;
|
|
329
|
-
/** Do not send HTTP headers X-ClickHouse-Progress more frequently than at each specified interval. (default: 100) */
|
|
330
|
-
http_headers_progress_interval_ms?: UInt64;
|
|
331
|
-
/** Do fsync after changing metadata for tables and databases (.sql files). Could be disabled in case of poor latency on server with high load of DDL queries and high load of disk subsystem. (default: true) */
|
|
402
|
+
/** Recursively remove data on DROP query. Avoids 'Directory not empty' error, but may silently remove detached data */
|
|
403
|
+
force_remove_data_recursively_on_drop?: Bool;
|
|
404
|
+
/** For AvroConfluent format: Confluent Schema Registry URL. */
|
|
405
|
+
format_avro_schema_registry_url?: URI;
|
|
406
|
+
/** The maximum allowed size for Array in RowBinary format. It prevents allocating large amount of memory in case of corrupted data. 0 means there is no limit */
|
|
407
|
+
format_binary_max_array_size?: UInt64;
|
|
408
|
+
/** The maximum allowed size for String in RowBinary format. It prevents allocating large amount of memory in case of corrupted data. 0 means there is no limit */
|
|
409
|
+
format_binary_max_string_size?: UInt64;
|
|
410
|
+
/** How to map ClickHouse Enum and CapnProto Enum */
|
|
411
|
+
format_capn_proto_enum_comparising_mode?: CapnProtoEnumComparingMode;
|
|
412
|
+
/** If it is set to true, allow strings in double quotes. */
|
|
413
|
+
format_csv_allow_double_quotes?: Bool;
|
|
414
|
+
/** If it is set to true, allow strings in single quotes. */
|
|
415
|
+
format_csv_allow_single_quotes?: Bool;
|
|
416
|
+
/** The character to be considered as a delimiter in CSV data. If setting with a string, a string has to have a length of 1. */
|
|
417
|
+
format_csv_delimiter?: Char;
|
|
418
|
+
/** Custom NULL representation in CSV format */
|
|
419
|
+
format_csv_null_representation?: string;
|
|
420
|
+
/** Field escaping rule (for CustomSeparated format) */
|
|
421
|
+
format_custom_escaping_rule?: EscapingRule;
|
|
422
|
+
/** Delimiter between fields (for CustomSeparated format) */
|
|
423
|
+
format_custom_field_delimiter?: string;
|
|
424
|
+
/** Suffix after result set (for CustomSeparated format) */
|
|
425
|
+
format_custom_result_after_delimiter?: string;
|
|
426
|
+
/** Prefix before result set (for CustomSeparated format) */
|
|
427
|
+
format_custom_result_before_delimiter?: string;
|
|
428
|
+
/** Delimiter after field of the last column (for CustomSeparated format) */
|
|
429
|
+
format_custom_row_after_delimiter?: string;
|
|
430
|
+
/** Delimiter before field of the first column (for CustomSeparated format) */
|
|
431
|
+
format_custom_row_before_delimiter?: string;
|
|
432
|
+
/** Delimiter between rows (for CustomSeparated format) */
|
|
433
|
+
format_custom_row_between_delimiter?: string;
|
|
434
|
+
/** Do not hide secrets in SHOW and SELECT queries. */
|
|
435
|
+
format_display_secrets_in_show_and_select?: Bool;
|
|
436
|
+
/** The name of column that will be used as object names in JSONObjectEachRow format. Column type should be String */
|
|
437
|
+
format_json_object_each_row_column_for_object_name?: string;
|
|
438
|
+
/** Regular expression (for Regexp format) */
|
|
439
|
+
format_regexp?: string;
|
|
440
|
+
/** Field escaping rule (for Regexp format) */
|
|
441
|
+
format_regexp_escaping_rule?: EscapingRule;
|
|
442
|
+
/** Skip lines unmatched by regular expression (for Regexp format) */
|
|
443
|
+
format_regexp_skip_unmatched?: Bool;
|
|
444
|
+
/** Schema identifier (used by schema-based formats) */
|
|
445
|
+
format_schema?: string;
|
|
446
|
+
/** Path to file which contains format string for result set (for Template format) */
|
|
447
|
+
format_template_resultset?: string;
|
|
448
|
+
/** Path to file which contains format string for rows (for Template format) */
|
|
449
|
+
format_template_row?: string;
|
|
450
|
+
/** Delimiter between rows (for Template format) */
|
|
451
|
+
format_template_rows_between_delimiter?: string;
|
|
452
|
+
/** Custom NULL representation in TSV format */
|
|
453
|
+
format_tsv_null_representation?: string;
|
|
454
|
+
/** Formatter '%f' in function 'formatDateTime()' produces a single zero instead of six zeros if the formatted value has no fractional seconds. */
|
|
455
|
+
formatdatetime_f_prints_single_zero?: Bool;
|
|
456
|
+
/** Formatter '%M' in functions 'formatDateTime()' and 'parseDateTime()' produces the month name instead of minutes. */
|
|
457
|
+
formatdatetime_parsedatetime_m_is_month_name?: Bool;
|
|
458
|
+
/** Do fsync after changing metadata for tables and databases (.sql files). Could be disabled in case of poor latency on server with high load of DDL queries and high load of disk subsystem. */
|
|
332
459
|
fsync_metadata?: Bool;
|
|
333
|
-
/**
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
|
|
341
|
-
/** If
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
|
|
357
|
-
/** Timeout for
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
insert_allow_materialized_columns?: Bool;
|
|
373
|
-
/** HTTP connection timeout. (default: 1) */
|
|
460
|
+
/** Choose function implementation for specific target or variant (experimental). If empty enable all of them. */
|
|
461
|
+
function_implementation?: string;
|
|
462
|
+
/** Allow function JSON_VALUE to return complex type, such as: struct, array, map. */
|
|
463
|
+
function_json_value_return_type_allow_complex?: Bool;
|
|
464
|
+
/** Allow function JSON_VALUE to return nullable type. */
|
|
465
|
+
function_json_value_return_type_allow_nullable?: Bool;
|
|
466
|
+
/** Maximum number of values generated by function `range` per block of data (sum of array sizes for every row in a block, see also 'max_block_size' and 'min_insert_block_size_rows'). It is a safety threshold. */
|
|
467
|
+
function_range_max_elements_in_block?: UInt64;
|
|
468
|
+
/** Maximum number of microseconds the function `sleep` is allowed to sleep for each block. If a user called it with a larger value, it throws an exception. It is a safety threshold. */
|
|
469
|
+
function_sleep_max_microseconds_per_block?: UInt64;
|
|
470
|
+
/** Maximum number of allowed addresses (For external storages, table functions, etc). */
|
|
471
|
+
glob_expansion_max_elements?: UInt64;
|
|
472
|
+
/** Initial number of grace hash join buckets */
|
|
473
|
+
grace_hash_join_initial_buckets?: UInt64;
|
|
474
|
+
/** Limit on the number of grace hash join buckets */
|
|
475
|
+
grace_hash_join_max_buckets?: UInt64;
|
|
476
|
+
/** What to do when the limit is exceeded. */
|
|
477
|
+
group_by_overflow_mode?: OverflowModeGroupBy;
|
|
478
|
+
/** From what number of keys, a two-level aggregation starts. 0 - the threshold is not set. */
|
|
479
|
+
group_by_two_level_threshold?: UInt64;
|
|
480
|
+
/** From what size of the aggregation state in bytes, a two-level aggregation begins to be used. 0 - the threshold is not set. Two-level aggregation is used when at least one of the thresholds is triggered. */
|
|
481
|
+
group_by_two_level_threshold_bytes?: UInt64;
|
|
482
|
+
/** Treat columns mentioned in ROLLUP, CUBE or GROUPING SETS as Nullable */
|
|
483
|
+
group_by_use_nulls?: Bool;
|
|
484
|
+
/** Timeout for receiving HELLO packet from replicas. */
|
|
485
|
+
handshake_timeout_ms?: Milliseconds;
|
|
486
|
+
/** Enables or disables creating a new file on each insert in hdfs engine tables */
|
|
487
|
+
hdfs_create_new_file_on_insert?: Bool;
|
|
488
|
+
/** The actual number of replications can be specified when the hdfs file is created. */
|
|
489
|
+
hdfs_replication?: UInt64;
|
|
490
|
+
/** Allow to skip empty files in hdfs table engine */
|
|
491
|
+
hdfs_skip_empty_files?: Bool;
|
|
492
|
+
/** Enables or disables truncate before insert in s3 engine tables */
|
|
493
|
+
hdfs_truncate_on_insert?: Bool;
|
|
494
|
+
/** Connection timeout for establishing connection with replica for Hedged requests */
|
|
495
|
+
hedged_connection_timeout_ms?: Milliseconds;
|
|
496
|
+
/** Expired time for hsts. 0 means disable HSTS. */
|
|
497
|
+
hsts_max_age?: UInt64;
|
|
498
|
+
/** HTTP connection timeout. */
|
|
374
499
|
http_connection_timeout?: Seconds;
|
|
375
|
-
/**
|
|
376
|
-
|
|
377
|
-
/** HTTP
|
|
378
|
-
|
|
379
|
-
/** Maximum
|
|
380
|
-
http_max_uri_size?: UInt64;
|
|
381
|
-
/** Maximum number of fields in HTTP header (default: 1000000) */
|
|
382
|
-
http_max_fields?: UInt64;
|
|
383
|
-
/** Maximum length of field name in HTTP header (default: 1048576) */
|
|
500
|
+
/** Do not send HTTP headers X-ClickHouse-Progress more frequently than at each specified interval. */
|
|
501
|
+
http_headers_progress_interval_ms?: UInt64;
|
|
502
|
+
/** Maximum value of a chunk size in HTTP chunked transfer encoding */
|
|
503
|
+
http_max_chunk_size?: UInt64;
|
|
504
|
+
/** Maximum length of field name in HTTP header */
|
|
384
505
|
http_max_field_name_size?: UInt64;
|
|
385
|
-
/** Maximum length of field value in HTTP header
|
|
506
|
+
/** Maximum length of field value in HTTP header */
|
|
386
507
|
http_max_field_value_size?: UInt64;
|
|
387
|
-
/**
|
|
508
|
+
/** Maximum number of fields in HTTP header */
|
|
509
|
+
http_max_fields?: UInt64;
|
|
510
|
+
/** Limit on size of multipart/form-data content. This setting cannot be parsed from URL parameters and should be set in user profile. Note that content is parsed and external tables are created in memory before start of query execution. And this is the only limit that has effect on that stage (limits on max memory usage and max execution time have no effect while reading HTTP form data). */
|
|
511
|
+
http_max_multipart_form_data_size?: UInt64;
|
|
512
|
+
/** Limit on size of request data used as a query parameter in predefined HTTP requests. */
|
|
513
|
+
http_max_request_param_data_size?: UInt64;
|
|
514
|
+
/** Max attempts to read via http. */
|
|
515
|
+
http_max_tries?: UInt64;
|
|
516
|
+
/** Maximum URI length of HTTP request */
|
|
517
|
+
http_max_uri_size?: UInt64;
|
|
518
|
+
/** If you uncompress the POST data from the client compressed by the native format, do not check the checksum. */
|
|
519
|
+
http_native_compression_disable_checksumming_on_decompress?: Bool;
|
|
520
|
+
/** HTTP receive timeout */
|
|
521
|
+
http_receive_timeout?: Seconds;
|
|
522
|
+
/** The number of bytes to buffer in the server memory before sending a HTTP response to the client or flushing to disk (when http_wait_end_of_query is enabled). */
|
|
523
|
+
http_response_buffer_size?: UInt64;
|
|
524
|
+
/** Min milliseconds for backoff, when retrying read via http */
|
|
525
|
+
http_retry_initial_backoff_ms?: UInt64;
|
|
526
|
+
/** Max milliseconds for backoff, when retrying read via http */
|
|
527
|
+
http_retry_max_backoff_ms?: UInt64;
|
|
528
|
+
/** HTTP send timeout */
|
|
529
|
+
http_send_timeout?: Seconds;
|
|
530
|
+
/** Skip url's for globs with HTTP_NOT_FOUND error */
|
|
388
531
|
http_skip_not_found_url_for_globs?: Bool;
|
|
389
|
-
/**
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
|
|
461
|
-
/**
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
|
|
503
|
-
/**
|
|
532
|
+
/** Enable HTTP response buffering on the server-side. */
|
|
533
|
+
http_wait_end_of_query?: Bool;
|
|
534
|
+
/** Compression level - used if the client on HTTP said that it understands data compressed by gzip or deflate. */
|
|
535
|
+
http_zlib_compression_level?: Int64;
|
|
536
|
+
/** Close idle TCP connections after specified number of seconds. */
|
|
537
|
+
idle_connection_timeout?: UInt64;
|
|
538
|
+
/** Comma separated list of strings or literals with the name of the data skipping indices that should be excluded during query execution. */
|
|
539
|
+
ignore_data_skipping_indices?: string;
|
|
540
|
+
/** If enabled and not already inside a transaction, wraps the query inside a full transaction (begin + commit or rollback) */
|
|
541
|
+
implicit_transaction?: Bool;
|
|
542
|
+
/** Maximum absolute amount of errors while reading text formats (like CSV, TSV). In case of error, if at least absolute or relative amount of errors is lower than corresponding value, will skip until next line and continue. */
|
|
543
|
+
input_format_allow_errors_num?: UInt64;
|
|
544
|
+
/** Maximum relative amount of errors while reading text formats (like CSV, TSV). In case of error, if at least absolute or relative amount of errors is lower than corresponding value, will skip until next line and continue. */
|
|
545
|
+
input_format_allow_errors_ratio?: Float;
|
|
546
|
+
/** Allow seeks while reading in ORC/Parquet/Arrow input formats */
|
|
547
|
+
input_format_allow_seeks?: Bool;
|
|
548
|
+
/** Allow missing columns while reading Arrow input formats */
|
|
549
|
+
input_format_arrow_allow_missing_columns?: Bool;
|
|
550
|
+
/** Ignore case when matching Arrow columns with CH columns. */
|
|
551
|
+
input_format_arrow_case_insensitive_column_matching?: Bool;
|
|
552
|
+
/** Allow to insert array of structs into Nested table in Arrow input format. */
|
|
553
|
+
input_format_arrow_import_nested?: Bool;
|
|
554
|
+
/** Skip columns with unsupported types while schema inference for format Arrow */
|
|
555
|
+
input_format_arrow_skip_columns_with_unsupported_types_in_schema_inference?: Bool;
|
|
556
|
+
/** For Avro/AvroConfluent format: when field is not found in schema use default value instead of error */
|
|
557
|
+
input_format_avro_allow_missing_fields?: Bool;
|
|
558
|
+
/** For Avro/AvroConfluent format: insert default in case of null and non Nullable column */
|
|
559
|
+
input_format_avro_null_as_default?: Bool;
|
|
560
|
+
/** Skip fields with unsupported types while schema inference for format BSON. */
|
|
561
|
+
input_format_bson_skip_fields_with_unsupported_types_in_schema_inference?: Bool;
|
|
562
|
+
/** Skip columns with unsupported types while schema inference for format CapnProto */
|
|
563
|
+
input_format_capn_proto_skip_fields_with_unsupported_types_in_schema_inference?: Bool;
|
|
564
|
+
/** Ignore extra columns in CSV input (if file has more columns than expected) and treat missing fields in CSV input as default values */
|
|
565
|
+
input_format_csv_allow_variable_number_of_columns?: Bool;
|
|
566
|
+
/** Allow to use spaces and tabs(\\t) as field delimiter in the CSV strings */
|
|
567
|
+
input_format_csv_allow_whitespace_or_tab_as_delimiter?: Bool;
|
|
568
|
+
/** When reading Array from CSV, expect that its elements were serialized in nested CSV and then put into string. Example: `"[""Hello"", ""world"", ""42"""" TV""]"`. Braces around array can be omitted. */
|
|
569
|
+
input_format_csv_arrays_as_nested_csv?: Bool;
|
|
570
|
+
/** Automatically detect header with names and types in CSV format */
|
|
571
|
+
input_format_csv_detect_header?: Bool;
|
|
572
|
+
/** Treat empty fields in CSV input as default values. */
|
|
573
|
+
input_format_csv_empty_as_default?: Bool;
|
|
574
|
+
/** Treat inserted enum values in CSV formats as enum indices */
|
|
575
|
+
input_format_csv_enum_as_number?: Bool;
|
|
576
|
+
/** Skip specified number of lines at the beginning of data in CSV format */
|
|
577
|
+
input_format_csv_skip_first_lines?: UInt64;
|
|
578
|
+
/** Skip trailing empty lines in CSV format */
|
|
579
|
+
input_format_csv_skip_trailing_empty_lines?: Bool;
|
|
580
|
+
/** Trims spaces and tabs (\\t) characters at the beginning and end in CSV strings */
|
|
581
|
+
input_format_csv_trim_whitespaces?: Bool;
|
|
582
|
+
/** Use some tweaks and heuristics to infer schema in CSV format */
|
|
583
|
+
input_format_csv_use_best_effort_in_schema_inference?: Bool;
|
|
584
|
+
/** Allow to set default value to column when CSV field deserialization failed on bad value */
|
|
585
|
+
input_format_csv_use_default_on_bad_values?: Bool;
|
|
586
|
+
/** Automatically detect header with names and types in CustomSeparated format */
|
|
587
|
+
input_format_custom_detect_header?: Bool;
|
|
588
|
+
/** Skip trailing empty lines in CustomSeparated format */
|
|
589
|
+
input_format_custom_skip_trailing_empty_lines?: Bool;
|
|
590
|
+
/** For input data calculate default expressions for omitted fields (it works for JSONEachRow, -WithNames, -WithNamesAndTypes formats). */
|
|
591
|
+
input_format_defaults_for_omitted_fields?: Bool;
|
|
592
|
+
/** Delimiter between collection(array or map) items in Hive Text File */
|
|
593
|
+
input_format_hive_text_collection_items_delimiter?: Char;
|
|
594
|
+
/** Delimiter between fields in Hive Text File */
|
|
595
|
+
input_format_hive_text_fields_delimiter?: Char;
|
|
596
|
+
/** Delimiter between a pair of map key/values in Hive Text File */
|
|
597
|
+
input_format_hive_text_map_keys_delimiter?: Char;
|
|
598
|
+
/** Map nested JSON data to nested tables (it works for JSONEachRow format). */
|
|
599
|
+
input_format_import_nested_json?: Bool;
|
|
600
|
+
/** Deserialization of IPv4 will use default values instead of throwing exception on conversion error. */
|
|
601
|
+
input_format_ipv4_default_on_conversion_error?: Bool;
|
|
602
|
+
/** Deserialization of IPV6 will use default values instead of throwing exception on conversion error. */
|
|
603
|
+
input_format_ipv6_default_on_conversion_error?: Bool;
|
|
604
|
+
/** Insert default value in named tuple element if it's missing in json object */
|
|
605
|
+
input_format_json_defaults_for_missing_elements_in_named_tuple?: Bool;
|
|
606
|
+
/** Ignore unknown keys in json object for named tuples */
|
|
607
|
+
input_format_json_ignore_unknown_keys_in_named_tuple?: Bool;
|
|
608
|
+
/** Deserialize named tuple columns as JSON objects */
|
|
609
|
+
input_format_json_named_tuples_as_objects?: Bool;
|
|
610
|
+
/** Allow to parse bools as numbers in JSON input formats */
|
|
611
|
+
input_format_json_read_bools_as_numbers?: Bool;
|
|
612
|
+
/** Allow to parse numbers as strings in JSON input formats */
|
|
613
|
+
input_format_json_read_numbers_as_strings?: Bool;
|
|
614
|
+
/** Allow to parse JSON objects as strings in JSON input formats */
|
|
615
|
+
input_format_json_read_objects_as_strings?: Bool;
|
|
616
|
+
/** Try to infer numbers from string fields while schema inference */
|
|
617
|
+
input_format_json_try_infer_numbers_from_strings?: Bool;
|
|
618
|
+
/** For JSON/JSONCompact/JSONColumnsWithMetadata input formats this controls whether format parser should check if data types from input metadata match data types of the corresponding columns from the table */
|
|
619
|
+
input_format_json_validate_types_from_metadata?: Bool;
|
|
620
|
+
/** The maximum bytes of data to read for automatic schema inference */
|
|
621
|
+
input_format_max_bytes_to_read_for_schema_inference?: UInt64;
|
|
622
|
+
/** The maximum rows of data to read for automatic schema inference */
|
|
623
|
+
input_format_max_rows_to_read_for_schema_inference?: UInt64;
|
|
624
|
+
/** The number of columns in inserted MsgPack data. Used for automatic schema inference from data. */
|
|
625
|
+
input_format_msgpack_number_of_columns?: UInt64;
|
|
626
|
+
/** Match columns from table in MySQL dump and columns from ClickHouse table by names */
|
|
627
|
+
input_format_mysql_dump_map_column_names?: Bool;
|
|
628
|
+
/** Name of the table in MySQL dump from which to read data */
|
|
629
|
+
input_format_mysql_dump_table_name?: string;
|
|
630
|
+
/** Allow data types conversion in Native input format */
|
|
631
|
+
input_format_native_allow_types_conversion?: Bool;
|
|
632
|
+
/** Initialize null fields with default values if the data type of this field is not nullable and it is supported by the input format */
|
|
633
|
+
input_format_null_as_default?: Bool;
|
|
634
|
+
/** Allow missing columns while reading ORC input formats */
|
|
635
|
+
input_format_orc_allow_missing_columns?: Bool;
|
|
636
|
+
/** Ignore case when matching ORC columns with CH columns. */
|
|
637
|
+
input_format_orc_case_insensitive_column_matching?: Bool;
|
|
638
|
+
/** Allow to insert array of structs into Nested table in ORC input format. */
|
|
639
|
+
input_format_orc_import_nested?: Bool;
|
|
640
|
+
/** Batch size when reading ORC stripes. */
|
|
641
|
+
input_format_orc_row_batch_size?: Int64;
|
|
642
|
+
/** Skip columns with unsupported types while schema inference for format ORC */
|
|
643
|
+
input_format_orc_skip_columns_with_unsupported_types_in_schema_inference?: Bool;
|
|
644
|
+
/** Enable parallel parsing for some data formats. */
|
|
645
|
+
input_format_parallel_parsing?: Bool;
|
|
646
|
+
/** Allow missing columns while reading Parquet input formats */
|
|
647
|
+
input_format_parquet_allow_missing_columns?: Bool;
|
|
648
|
+
/** Ignore case when matching Parquet columns with CH columns. */
|
|
649
|
+
input_format_parquet_case_insensitive_column_matching?: Bool;
|
|
650
|
+
/** Allow to insert array of structs into Nested table in Parquet input format. */
|
|
651
|
+
input_format_parquet_import_nested?: Bool;
|
|
652
|
+
/** Max block size for parquet reader. */
|
|
653
|
+
input_format_parquet_max_block_size?: UInt64;
|
|
654
|
+
/** Avoid reordering rows when reading from Parquet files. Usually makes it much slower. */
|
|
655
|
+
input_format_parquet_preserve_order?: Bool;
|
|
656
|
+
/** Skip columns with unsupported types while schema inference for format Parquet */
|
|
657
|
+
input_format_parquet_skip_columns_with_unsupported_types_in_schema_inference?: Bool;
|
|
658
|
+
/** Enable Google wrappers for regular non-nested columns, e.g. google.protobuf.StringValue 'str' for String column 'str'. For Nullable columns empty wrappers are recognized as defaults, and missing as nulls */
|
|
659
|
+
input_format_protobuf_flatten_google_wrappers?: Bool;
|
|
660
|
+
/** Skip fields with unsupported types while schema inference for format Protobuf */
|
|
661
|
+
input_format_protobuf_skip_fields_with_unsupported_types_in_schema_inference?: Bool;
|
|
662
|
+
/** Path of the file used to record errors while reading text formats (CSV, TSV). */
|
|
663
|
+
input_format_record_errors_file_path?: string;
|
|
664
|
+
/** Skip columns with unknown names from input data (it works for JSONEachRow, -WithNames, -WithNamesAndTypes and TSKV formats). */
|
|
665
|
+
input_format_skip_unknown_fields?: Bool;
|
|
666
|
+
/** Try to infer dates from string fields while schema inference in text formats */
|
|
667
|
+
input_format_try_infer_dates?: Bool;
|
|
668
|
+
/** Try to infer datetimes from string fields while schema inference in text formats */
|
|
669
|
+
input_format_try_infer_datetimes?: Bool;
|
|
670
|
+
/** Try to infer integers instead of floats while schema inference in text formats */
|
|
671
|
+
input_format_try_infer_integers?: Bool;
|
|
672
|
+
/** Automatically detect header with names and types in TSV format */
|
|
673
|
+
input_format_tsv_detect_header?: Bool;
|
|
674
|
+
/** Treat empty fields in TSV input as default values. */
|
|
675
|
+
input_format_tsv_empty_as_default?: Bool;
|
|
676
|
+
/** Treat inserted enum values in TSV formats as enum indices. */
|
|
677
|
+
input_format_tsv_enum_as_number?: Bool;
|
|
678
|
+
/** Skip specified number of lines at the beginning of data in TSV format */
|
|
679
|
+
input_format_tsv_skip_first_lines?: UInt64;
|
|
680
|
+
/** Skip trailing empty lines in TSV format */
|
|
681
|
+
input_format_tsv_skip_trailing_empty_lines?: Bool;
|
|
682
|
+
/** Use some tweaks and heuristics to infer schema in TSV format */
|
|
683
|
+
input_format_tsv_use_best_effort_in_schema_inference?: Bool;
|
|
684
|
+
/** For Values format: when parsing and interpreting expressions using template, check actual type of literal to avoid possible overflow and precision issues. */
|
|
685
|
+
input_format_values_accurate_types_of_literals?: Bool;
|
|
686
|
+
/** For Values format: if the field could not be parsed by streaming parser, run SQL parser, deduce template of the SQL expression, try to parse all rows using template and then interpret expression for all rows. */
|
|
687
|
+
input_format_values_deduce_templates_of_expressions?: Bool;
|
|
688
|
+
/** For Values format: if the field could not be parsed by streaming parser, run SQL parser and try to interpret it as SQL expression. */
|
|
689
|
+
input_format_values_interpret_expressions?: Bool;
|
|
690
|
+
/** For -WithNames input formats this controls whether format parser is to assume that column data appear in the input exactly as they are specified in the header. */
|
|
691
|
+
input_format_with_names_use_header?: Bool;
|
|
692
|
+
/** For -WithNamesAndTypes input formats this controls whether format parser should check if data types from the input match data types from the header. */
|
|
693
|
+
input_format_with_types_use_header?: Bool;
|
|
694
|
+
/** If setting is enabled, Allow materialized columns in INSERT. */
|
|
695
|
+
insert_allow_materialized_columns?: Bool;
|
|
696
|
+
/** For INSERT queries in the replicated table, specifies that deduplication of insertings blocks should be performed */
|
|
697
|
+
insert_deduplicate?: Bool;
|
|
698
|
+
/** If not empty, used for duplicate detection instead of data digest */
|
|
699
|
+
insert_deduplication_token?: string;
|
|
700
|
+
/** If setting is enabled, inserting into distributed table will choose a random shard to write when there is no sharding key */
|
|
701
|
+
insert_distributed_one_random_shard?: Bool;
|
|
702
|
+
/** If setting is enabled, insert query into distributed waits until data will be sent to all nodes in cluster. */
|
|
703
|
+
insert_distributed_sync?: Bool;
|
|
704
|
+
/** Timeout for insert query into distributed. Setting is used only with insert_distributed_sync enabled. Zero value means no timeout. */
|
|
705
|
+
insert_distributed_timeout?: UInt64;
|
|
706
|
+
/** Approximate probability of failure for a keeper request during insert. Valid value is in interval [0.0f, 1.0f] */
|
|
707
|
+
insert_keeper_fault_injection_probability?: Float;
|
|
708
|
+
/** 0 - random seed, otherwise the setting value */
|
|
709
|
+
insert_keeper_fault_injection_seed?: UInt64;
|
|
710
|
+
/** Max retries for keeper operations during insert */
|
|
711
|
+
insert_keeper_max_retries?: UInt64;
|
|
712
|
+
/** Initial backoff timeout for keeper operations during insert */
|
|
713
|
+
insert_keeper_retry_initial_backoff_ms?: UInt64;
|
|
714
|
+
/** Max backoff timeout for keeper operations during insert */
|
|
715
|
+
insert_keeper_retry_max_backoff_ms?: UInt64;
|
|
716
|
+
/** Insert DEFAULT values instead of NULL in INSERT SELECT (UNION ALL) */
|
|
717
|
+
insert_null_as_default?: Bool;
|
|
718
|
+
/** For INSERT queries in the replicated table, wait writing for the specified number of replicas and linearize the addition of the data. 0 - disabled, 'auto' - use majority */
|
|
719
|
+
insert_quorum?: UInt64Auto;
|
|
720
|
+
/** For quorum INSERT queries - enable to make parallel inserts without linearizability */
|
|
721
|
+
insert_quorum_parallel?: Bool;
|
|
722
|
+
/** If the quorum of replicas did not meet in specified time (in milliseconds), exception will be thrown and insertion is aborted. */
|
|
723
|
+
insert_quorum_timeout?: Milliseconds;
|
|
724
|
+
/** If non-zero, when insert into a distributed table, the data will be inserted into the shard `insert_shard_id` synchronously. Possible values range from 1 to `shards_number` of corresponding distributed table */
|
|
725
|
+
insert_shard_id?: UInt64;
|
|
726
|
+
/** The interval in microseconds to check if the request is cancelled, and to send progress info. */
|
|
727
|
+
interactive_delay?: UInt64;
|
|
728
|
+
/** Set default mode in INTERSECT query. Possible values: empty string, 'ALL', 'DISTINCT'. If empty, query without mode will throw exception. */
|
|
729
|
+
intersect_default_mode?: SetOperationMode;
|
|
730
|
+
/** Textual representation of Interval. Possible values: 'kusto', 'numeric'. */
|
|
731
|
+
interval_output_format?: IntervalOutputFormat;
|
|
732
|
+
/** Specify join algorithm. */
|
|
504
733
|
join_algorithm?: JoinAlgorithm;
|
|
505
|
-
/**
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
partial_merge_join_rows_in_right_blocks?: UInt64;
|
|
511
|
-
/** For MergeJoin on disk set how much files it's allowed to sort simultaneously. Then this value bigger then more memory used and then less disk I/O needed. Minimum is 2. (default: 64) */
|
|
734
|
+
/** When disabled (default) ANY JOIN will take the first found row for a key. When enabled, it will take the last row seen if there are multiple rows for the same key. */
|
|
735
|
+
join_any_take_last_row?: Bool;
|
|
736
|
+
/** Set default strictness in JOIN query. Possible values: empty string, 'ANY', 'ALL'. If empty, query without strictness will throw exception. */
|
|
737
|
+
join_default_strictness?: JoinStrictness;
|
|
738
|
+
/** For MergeJoin on disk set how much files it's allowed to sort simultaneously. Then this value bigger then more memory used and then less disk I/O needed. Minimum is 2. */
|
|
512
739
|
join_on_disk_max_files_to_merge?: UInt64;
|
|
513
|
-
/**
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
|
|
531
|
-
/**
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
|
|
549
|
-
/**
|
|
550
|
-
max_network_bandwidth_for_user?: UInt64;
|
|
551
|
-
/** The maximum speed of data exchange over the network in bytes per second for all concurrently running queries. Zero means unlimited. (default: 0) */
|
|
552
|
-
max_network_bandwidth_for_all_users?: UInt64;
|
|
553
|
-
/** The maximum number of threads to execute BACKUP requests. (default: 16) */
|
|
554
|
-
backup_threads?: UInt64;
|
|
555
|
-
/** The maximum number of threads to execute RESTORE requests. (default: 16) */
|
|
556
|
-
restore_threads?: UInt64;
|
|
557
|
-
/** Log query performance statistics into the query_log (default: true) */
|
|
740
|
+
/** What to do when the limit is exceeded. */
|
|
741
|
+
join_overflow_mode?: OverflowMode;
|
|
742
|
+
/** Use NULLs for non-joined rows of outer JOINs for types that can be inside Nullable. If false, use default value of corresponding columns data type. */
|
|
743
|
+
join_use_nulls?: Bool;
|
|
744
|
+
/** Force joined subqueries and table functions to have aliases for correct name qualification. */
|
|
745
|
+
joined_subquery_requires_alias?: Bool;
|
|
746
|
+
/** Disable limit on kafka_num_consumers that depends on the number of available CPU cores */
|
|
747
|
+
kafka_disable_num_consumers_limit?: Bool;
|
|
748
|
+
/** The wait time for reading from Kafka before retry. */
|
|
749
|
+
kafka_max_wait_ms?: Milliseconds;
|
|
750
|
+
/** Enforce additional checks during operations on KeeperMap. E.g. throw an exception on an insert for already existing key */
|
|
751
|
+
keeper_map_strict_mode?: Bool;
|
|
752
|
+
/** List all names of element of large tuple literals in their column names instead of hash. This settings exists only for compatibility reasons. It makes sense to set to 'true', while doing rolling update of cluster from version lower than 21.7 to higher. */
|
|
753
|
+
legacy_column_name_of_tuple_literal?: Bool;
|
|
754
|
+
/** Limit on read rows from the most 'end' result for select query, default 0 means no limit length */
|
|
755
|
+
limit?: UInt64;
|
|
756
|
+
/** The heartbeat interval in seconds to indicate live query is alive. */
|
|
757
|
+
live_view_heartbeat_interval?: Seconds;
|
|
758
|
+
/** Which replicas (among healthy replicas) to preferably send a query to (on the first attempt) for distributed processing. */
|
|
759
|
+
load_balancing?: LoadBalancing;
|
|
760
|
+
/** Which replica to preferably send a query when FIRST_OR_RANDOM load balancing strategy is used. */
|
|
761
|
+
load_balancing_first_offset?: UInt64;
|
|
762
|
+
/** Load MergeTree marks asynchronously */
|
|
763
|
+
load_marks_asynchronously?: Bool;
|
|
764
|
+
/** Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes. */
|
|
765
|
+
local_filesystem_read_method?: string;
|
|
766
|
+
/** Should use prefetching when reading data from local filesystem. */
|
|
767
|
+
local_filesystem_read_prefetch?: Bool;
|
|
768
|
+
/** How long locking request should wait before failing */
|
|
769
|
+
lock_acquire_timeout?: Seconds;
|
|
770
|
+
/** Log comment into system.query_log table and server log. It can be set to arbitrary string no longer than max_query_size. */
|
|
771
|
+
log_comment?: string;
|
|
772
|
+
/** Log formatted queries and write the log to the system table. */
|
|
773
|
+
log_formatted_queries?: Bool;
|
|
774
|
+
/** Log Processors profile events. */
|
|
775
|
+
log_processors_profiles?: Bool;
|
|
776
|
+
/** Log query performance statistics into the query_log, query_thread_log and query_views_log. */
|
|
558
777
|
log_profile_events?: Bool;
|
|
559
|
-
/** Log
|
|
778
|
+
/** Log requests and write the log to the system table. */
|
|
779
|
+
log_queries?: Bool;
|
|
780
|
+
/** If query length is greater than specified threshold (in bytes), then cut query when writing to query log. Also limit length of printed query in ordinary text log. */
|
|
781
|
+
log_queries_cut_to_length?: UInt64;
|
|
782
|
+
/** Minimal time for the query to run, to get to the query_log/query_thread_log/query_views_log. */
|
|
783
|
+
log_queries_min_query_duration_ms?: Milliseconds;
|
|
784
|
+
/** Minimal type in query_log to log, possible values (from low to high): QUERY_START, QUERY_FINISH, EXCEPTION_BEFORE_START, EXCEPTION_WHILE_PROCESSING. */
|
|
785
|
+
log_queries_min_type?: LogQueriesType;
|
|
786
|
+
/** Log queries with the specified probabality. */
|
|
787
|
+
log_queries_probability?: Float;
|
|
788
|
+
/** Log query settings into the query_log. */
|
|
560
789
|
log_query_settings?: Bool;
|
|
561
|
-
/** Log query threads into system.query_thread_log table. This setting have effect only when 'log_queries' is true.
|
|
790
|
+
/** Log query threads into system.query_thread_log table. This setting have effect only when 'log_queries' is true. */
|
|
562
791
|
log_query_threads?: Bool;
|
|
563
|
-
/** Log query dependent views into system.query_views_log table. This setting have effect only when 'log_queries' is true.
|
|
792
|
+
/** Log query dependent views into system.query_views_log table. This setting have effect only when 'log_queries' is true. */
|
|
564
793
|
log_query_views?: Bool;
|
|
565
|
-
/**
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
send_logs_level?: LogsLevel;
|
|
569
|
-
/** Send server text logs with specified regexp to match log source name. Empty means all sources. (default: "") */
|
|
570
|
-
send_logs_source_regexp?: string;
|
|
571
|
-
/** If it is set to true (default: true) */
|
|
572
|
-
enable_optimize_predicate_expression?: Bool;
|
|
573
|
-
/** Allow push predicate to final subquery. (default: true) */
|
|
574
|
-
enable_optimize_predicate_expression_to_final_subquery?: Bool;
|
|
575
|
-
/** Allows push predicate when subquery contains WITH clause (default: true) */
|
|
576
|
-
allow_push_predicate_when_subquery_contains_with?: Bool;
|
|
577
|
-
/** Maximum size (in rows) of shared global dictionary for LowCardinality type. (default: 8192) */
|
|
794
|
+
/** Use LowCardinality type in Native format. Otherwise, convert LowCardinality columns to ordinary for select query, and convert ordinary columns to required LowCardinality for insert query. */
|
|
795
|
+
low_cardinality_allow_in_native_format?: Bool;
|
|
796
|
+
/** Maximum size (in rows) of shared global dictionary for LowCardinality type. */
|
|
578
797
|
low_cardinality_max_dictionary_size?: UInt64;
|
|
579
|
-
/** LowCardinality type serialization setting. If is true
|
|
798
|
+
/** LowCardinality type serialization setting. If is true, than will use additional keys when global dictionary overflows. Otherwise, will create several shared dictionaries. */
|
|
580
799
|
low_cardinality_use_single_dictionary_for_part?: Bool;
|
|
581
|
-
/**
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
|
|
585
|
-
/**
|
|
800
|
+
/** Apply TTL for old data, after ALTER MODIFY TTL query */
|
|
801
|
+
materialize_ttl_after_modify?: Bool;
|
|
802
|
+
/** Allows to ignore errors for MATERIALIZED VIEW, and deliver original block to the table regardless of MVs */
|
|
803
|
+
materialized_views_ignore_errors?: Bool;
|
|
804
|
+
/** Maximum number of analyses performed by interpreter. */
|
|
805
|
+
max_analyze_depth?: UInt64;
|
|
806
|
+
/** Maximum depth of query syntax tree. Checked after parsing. */
|
|
807
|
+
max_ast_depth?: UInt64;
|
|
808
|
+
/** Maximum size of query syntax tree in number of nodes. Checked after parsing. */
|
|
809
|
+
max_ast_elements?: UInt64;
|
|
810
|
+
/** The maximum read speed in bytes per second for particular backup on server. Zero means unlimited. */
|
|
811
|
+
max_backup_bandwidth?: UInt64;
|
|
812
|
+
/** Maximum block size for reading */
|
|
813
|
+
max_block_size?: UInt64;
|
|
814
|
+
/** If memory usage during GROUP BY operation is exceeding this threshold in bytes, activate the 'external aggregation' mode (spill data to disk). Recommended value is half of available system memory. */
|
|
815
|
+
max_bytes_before_external_group_by?: UInt64;
|
|
816
|
+
/** If memory usage during ORDER BY operation is exceeding this threshold in bytes, activate the 'external sorting' mode (spill data to disk). Recommended value is half of available system memory. */
|
|
817
|
+
max_bytes_before_external_sort?: UInt64;
|
|
818
|
+
/** In case of ORDER BY with LIMIT, when memory usage is higher than specified threshold, perform additional steps of merging blocks before final merge to keep just top LIMIT rows. */
|
|
819
|
+
max_bytes_before_remerge_sort?: UInt64;
|
|
820
|
+
/** Maximum total size of state (in uncompressed bytes) in memory for the execution of DISTINCT. */
|
|
821
|
+
max_bytes_in_distinct?: UInt64;
|
|
822
|
+
/** Maximum size of the hash table for JOIN (in number of bytes in memory). */
|
|
823
|
+
max_bytes_in_join?: UInt64;
|
|
824
|
+
/** Maximum size of the set (in bytes in memory) resulting from the execution of the IN section. */
|
|
825
|
+
max_bytes_in_set?: UInt64;
|
|
826
|
+
/** Limit on read bytes (after decompression) from the most 'deep' sources. That is, only in the deepest subquery. When reading from a remote server, it is only checked on a remote server. */
|
|
827
|
+
max_bytes_to_read?: UInt64;
|
|
828
|
+
/** Limit on read bytes (after decompression) on the leaf nodes for distributed queries. Limit is applied for local reads only excluding the final merge stage on the root node. */
|
|
829
|
+
max_bytes_to_read_leaf?: UInt64;
|
|
830
|
+
/** If more than specified amount of (uncompressed) bytes have to be processed for ORDER BY operation, the behavior will be determined by the 'sort_overflow_mode' which by default is - throw an exception */
|
|
831
|
+
max_bytes_to_sort?: UInt64;
|
|
832
|
+
/** Maximum size (in uncompressed bytes) of the transmitted external table obtained when the GLOBAL IN/JOIN section is executed. */
|
|
833
|
+
max_bytes_to_transfer?: UInt64;
|
|
834
|
+
/** If a query requires reading more than specified number of columns, exception is thrown. Zero value means unlimited. This setting is useful to prevent too complex queries. */
|
|
835
|
+
max_columns_to_read?: UInt64;
|
|
836
|
+
/** The maximum size of blocks of uncompressed data before compressing for writing to a table. */
|
|
837
|
+
max_compress_block_size?: UInt64;
|
|
838
|
+
/** The maximum number of concurrent requests for all users. */
|
|
839
|
+
max_concurrent_queries_for_all_users?: UInt64;
|
|
840
|
+
/** The maximum number of concurrent requests per user. */
|
|
841
|
+
max_concurrent_queries_for_user?: UInt64;
|
|
842
|
+
/** The maximum number of connections for distributed processing of one query (should be greater than max_threads). */
|
|
843
|
+
max_distributed_connections?: UInt64;
|
|
844
|
+
/** Maximum distributed query depth */
|
|
845
|
+
max_distributed_depth?: UInt64;
|
|
846
|
+
/** The maximal size of buffer for parallel downloading (e.g. for URL engine) per each thread. */
|
|
847
|
+
max_download_buffer_size?: UInt64;
|
|
848
|
+
/** The maximum number of threads to download data (e.g. for URL engine). */
|
|
849
|
+
max_download_threads?: MaxThreads;
|
|
850
|
+
/** How many entries hash table statistics collected during aggregation is allowed to have */
|
|
851
|
+
max_entries_for_hash_table_stats?: UInt64;
|
|
852
|
+
/** Maximum number of execution rows per second. */
|
|
853
|
+
max_execution_speed?: UInt64;
|
|
854
|
+
/** Maximum number of execution bytes per second. */
|
|
855
|
+
max_execution_speed_bytes?: UInt64;
|
|
856
|
+
/** If query run time exceeded the specified number of seconds, the behavior will be determined by the 'timeout_overflow_mode' which by default is - throw an exception. Note that the timeout is checked and query can stop only in designated places during data processing. It currently cannot stop during merging of aggregation states or during query analysis, and the actual run time will be higher than the value of this setting. */
|
|
857
|
+
max_execution_time?: Seconds;
|
|
858
|
+
/** Maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk. */
|
|
859
|
+
max_expanded_ast_elements?: UInt64;
|
|
860
|
+
/** Amount of retries while fetching partition from another host. */
|
|
586
861
|
max_fetch_partition_retries_count?: UInt64;
|
|
587
|
-
/**
|
|
588
|
-
|
|
589
|
-
/**
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
allow_ddl?: Bool;
|
|
593
|
-
/** Enables pushing to attached views concurrently instead of sequentially. (default: false) */
|
|
594
|
-
parallel_view_processing?: Bool;
|
|
595
|
-
/** Allow ARRAY JOIN with multiple arrays that have different sizes. When this settings is enabled (default: false) */
|
|
596
|
-
enable_unaligned_array_join?: Bool;
|
|
597
|
-
/** Enable ORDER BY optimization for reading data in corresponding order in MergeTree tables. (default: true) */
|
|
598
|
-
optimize_read_in_order?: Bool;
|
|
599
|
-
/** Enable ORDER BY optimization in window clause for reading data in corresponding order in MergeTree tables. (default: true) */
|
|
600
|
-
optimize_read_in_window_order?: Bool;
|
|
601
|
-
/** Enable GROUP BY optimization for aggregating data in corresponding order in MergeTree tables. (default: false) */
|
|
602
|
-
optimize_aggregation_in_order?: Bool;
|
|
603
|
-
/** Maximal size of block in bytes accumulated during aggregation in order of primary key. Lower block size allows to parallelize more final merge stage of aggregation. (default: 50000000) */
|
|
604
|
-
aggregation_in_order_max_block_bytes?: UInt64;
|
|
605
|
-
/** Minimal number of parts to read to run preliminary merge step during multithread reading in order of primary key. (default: 100) */
|
|
606
|
-
read_in_order_two_level_merge_threshold?: UInt64;
|
|
607
|
-
/** Use LowCardinality type in Native format. Otherwise (default: true) */
|
|
608
|
-
low_cardinality_allow_in_native_format?: Bool;
|
|
609
|
-
/** Cancel HTTP readonly queries when a client closes the connection without waiting for response. (default: false) */
|
|
610
|
-
cancel_http_readonly_queries_on_client_close?: Bool;
|
|
611
|
-
/** If it is set to true (default: true) */
|
|
612
|
-
external_table_functions_use_nulls?: Bool;
|
|
613
|
-
/** If it is set to true (default: false) */
|
|
614
|
-
external_table_strict_query?: Bool;
|
|
615
|
-
/** Allow functions that use Hyperscan library. Disable to avoid potentially long compilation times and excessive resource usage. (default: true) */
|
|
616
|
-
allow_hyperscan?: Bool;
|
|
617
|
-
/** Max length of regexp than can be used in hyperscan multi-match functions. Zero means unlimited. (default: 0) */
|
|
862
|
+
/** The maximum number of threads to read from table with FINAL. */
|
|
863
|
+
max_final_threads?: MaxThreads;
|
|
864
|
+
/** Max number of http GET redirects hops allowed. Make sure additional security measures are in place to prevent a malicious server to redirect your requests to unexpected services. */
|
|
865
|
+
max_http_get_redirects?: UInt64;
|
|
866
|
+
/** Max length of regexp than can be used in hyperscan multi-match functions. Zero means unlimited. */
|
|
618
867
|
max_hyperscan_regexp_length?: UInt64;
|
|
619
|
-
/** Max total length of all regexps than can be used in hyperscan multi-match functions (per every function). Zero means unlimited.
|
|
868
|
+
/** Max total length of all regexps than can be used in hyperscan multi-match functions (per every function). Zero means unlimited. */
|
|
620
869
|
max_hyperscan_regexp_total_length?: UInt64;
|
|
621
|
-
/**
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
allow_drop_detached?: Bool;
|
|
633
|
-
/** Connection pool size for PostgreSQL table engine and database engine. (default: 16) */
|
|
634
|
-
postgresql_connection_pool_size?: UInt64;
|
|
635
|
-
/** Connection pool push/pop timeout on empty pool for PostgreSQL table engine and database engine. By default it will block on empty pool. (default: 5000) */
|
|
636
|
-
postgresql_connection_pool_wait_timeout?: UInt64;
|
|
637
|
-
/** Close connection before returning connection to the pool. (default: false) */
|
|
638
|
-
postgresql_connection_pool_auto_close_connection?: Bool;
|
|
639
|
-
/** Maximum number of allowed addresses (For external storages (default: 1000) */
|
|
640
|
-
glob_expansion_max_elements?: UInt64;
|
|
641
|
-
/** Connection pool size for each connection settings string in ODBC bridge. (default: 16) */
|
|
642
|
-
odbc_bridge_connection_pool_size?: UInt64;
|
|
643
|
-
/** Use connection pooling in ODBC bridge. If set to false (default: true) */
|
|
644
|
-
odbc_bridge_use_connection_pooling?: Bool;
|
|
645
|
-
/** Time period reduces replica error counter by 2 times. (default: 60) */
|
|
646
|
-
distributed_replica_error_half_life?: Seconds;
|
|
647
|
-
/** Max number of errors per replica (default: 1000) */
|
|
648
|
-
distributed_replica_error_cap?: UInt64;
|
|
649
|
-
/** Number of errors that will be ignored while choosing replicas (default: 0) */
|
|
650
|
-
distributed_replica_max_ignored_errors?: UInt64;
|
|
651
|
-
/** Enable LIVE VIEW. Not mature enough. (default: false) */
|
|
652
|
-
allow_experimental_live_view?: Bool;
|
|
653
|
-
/** The heartbeat interval in seconds to indicate live query is alive. (default: 15) */
|
|
654
|
-
live_view_heartbeat_interval?: Seconds;
|
|
655
|
-
/** Limit maximum number of inserted blocks after which mergeable blocks are dropped and query is re-executed. (default: 64) */
|
|
870
|
+
/** The maximum block size for insertion, if we control the creation of blocks for insertion. */
|
|
871
|
+
max_insert_block_size?: UInt64;
|
|
872
|
+
/** The maximum number of streams (columns) to delay final part flush. Default - auto (1000 in case of underlying storage supports parallel write, for example S3 and disabled otherwise) */
|
|
873
|
+
max_insert_delayed_streams_for_parallel_write?: UInt64;
|
|
874
|
+
/** The maximum number of threads to execute the INSERT SELECT query. Values 0 or 1 means that INSERT SELECT is not run in parallel. Higher values will lead to higher memory usage. Parallel INSERT SELECT has effect only if the SELECT part is run on parallel, see 'max_threads' setting. */
|
|
875
|
+
max_insert_threads?: UInt64;
|
|
876
|
+
/** Maximum block size for JOIN result (if join algorithm supports it). 0 means unlimited. */
|
|
877
|
+
max_joined_block_size_rows?: UInt64;
|
|
878
|
+
/** SELECT queries with LIMIT bigger than this setting cannot use ANN indexes. Helps to prevent memory overflows in ANN search indexes. */
|
|
879
|
+
max_limit_for_ann_queries?: UInt64;
|
|
880
|
+
/** Limit maximum number of inserted blocks after which mergeable blocks are dropped and query is re-executed. */
|
|
656
881
|
max_live_view_insert_blocks_before_refresh?: UInt64;
|
|
657
|
-
/**
|
|
658
|
-
|
|
659
|
-
/** The
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
|
|
665
|
-
/** The
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
|
|
675
|
-
/**
|
|
676
|
-
|
|
677
|
-
/**
|
|
678
|
-
optimize_respect_aliases?: Bool;
|
|
679
|
-
/** Wait for synchronous execution of ALTER TABLE UPDATE/DELETE queries (mutations). 0 - execute asynchronously. 1 - wait current server. 2 - wait all replicas if they exist. (default: 0) */
|
|
680
|
-
mutations_sync?: UInt64;
|
|
681
|
-
/** Enable lightweight DELETE mutations for mergetree tables. Work in progress (default: false) */
|
|
682
|
-
allow_experimental_lightweight_delete?: Bool;
|
|
683
|
-
/** Move functions out of aggregate functions 'any' (default: false) */
|
|
684
|
-
optimize_move_functions_out_of_any?: Bool;
|
|
685
|
-
/** Rewrite aggregate functions that semantically equals to count() as count(). (default: true) */
|
|
686
|
-
optimize_normalize_count_variants?: Bool;
|
|
687
|
-
/** Delete injective functions of one argument inside uniq*() functions. (default: true) */
|
|
688
|
-
optimize_injective_functions_inside_uniq?: Bool;
|
|
689
|
-
/** Convert SELECT query to CNF (default: false) */
|
|
690
|
-
convert_query_to_cnf?: Bool;
|
|
691
|
-
/** Optimize multiple OR LIKE into multiMatchAny. This optimization should not be enabled by default (default: false) */
|
|
692
|
-
optimize_or_like_chain?: Bool;
|
|
693
|
-
/** Move arithmetic operations out of aggregation functions (default: true) */
|
|
694
|
-
optimize_arithmetic_operations_in_aggregate_functions?: Bool;
|
|
695
|
-
/** Remove duplicate ORDER BY and DISTINCT if it's possible (default: true) */
|
|
696
|
-
optimize_duplicate_order_by_and_distinct?: Bool;
|
|
697
|
-
/** Remove functions from ORDER BY if its argument is also in ORDER BY (default: true) */
|
|
698
|
-
optimize_redundant_functions_in_order_by?: Bool;
|
|
699
|
-
/** Replace if(cond1 (default: false) */
|
|
700
|
-
optimize_if_chain_to_multiif?: Bool;
|
|
701
|
-
/** Replace 'multiIf' with only one condition to 'if'. (default: true) */
|
|
702
|
-
optimize_multiif_to_if?: Bool;
|
|
703
|
-
/** Replaces string-type arguments in If and Transform to enum. Disabled by default cause it could make inconsistent change in distributed query that would lead to its fail. (default: false) */
|
|
704
|
-
optimize_if_transform_strings_to_enum?: Bool;
|
|
705
|
-
/** Replace monotonous function with its argument in ORDER BY (default: true) */
|
|
706
|
-
optimize_monotonous_functions_in_order_by?: Bool;
|
|
707
|
-
/** Transform functions to subcolumns (default: false) */
|
|
708
|
-
optimize_functions_to_subcolumns?: Bool;
|
|
709
|
-
/** Use constraints for query optimization (default: false) */
|
|
710
|
-
optimize_using_constraints?: Bool;
|
|
711
|
-
/** Use constraints for column substitution (default: false) */
|
|
712
|
-
optimize_substitute_columns?: Bool;
|
|
713
|
-
/** Use constraints in order to append index condition (indexHint) (default: false) */
|
|
714
|
-
optimize_append_index?: Bool;
|
|
715
|
-
/** Normalize function names to their canonical names (default: true) */
|
|
716
|
-
normalize_function_names?: Bool;
|
|
717
|
-
/** Allow atomic alter on Materialized views. Work in progress. (default: false) */
|
|
718
|
-
allow_experimental_alter_materialized_view_structure?: Bool;
|
|
719
|
-
/** Enable query optimization where we analyze function and subqueries results and rewrite query if there're constants there (default: true) */
|
|
720
|
-
enable_early_constant_folding?: Bool;
|
|
721
|
-
/** Should deduplicate blocks for materialized views if the block is not a duplicate for the table. Use true to always deduplicate in dependent tables. (default: false) */
|
|
722
|
-
deduplicate_blocks_in_dependent_materialized_views?: Bool;
|
|
723
|
-
/** Changes format of directories names for distributed table insert parts. (default: true) */
|
|
724
|
-
use_compact_format_in_distributed_parts_names?: Bool;
|
|
725
|
-
/** Throw exception if polygon is invalid in function pointInPolygon (e.g. self-tangent (default: true) */
|
|
726
|
-
validate_polygons?: Bool;
|
|
727
|
-
/** Maximum parser depth (recursion depth of recursive descend parser). (default: 1000) */
|
|
882
|
+
/** The maximum speed of local reads in bytes per second. */
|
|
883
|
+
max_local_read_bandwidth?: UInt64;
|
|
884
|
+
/** The maximum speed of local writes in bytes per second. */
|
|
885
|
+
max_local_write_bandwidth?: UInt64;
|
|
886
|
+
/** Maximum memory usage for processing of single query. Zero means unlimited. */
|
|
887
|
+
max_memory_usage?: UInt64;
|
|
888
|
+
/** Maximum memory usage for processing all concurrently running queries for the user. Zero means unlimited. */
|
|
889
|
+
max_memory_usage_for_user?: UInt64;
|
|
890
|
+
/** The maximum speed of data exchange over the network in bytes per second for a query. Zero means unlimited. */
|
|
891
|
+
max_network_bandwidth?: UInt64;
|
|
892
|
+
/** The maximum speed of data exchange over the network in bytes per second for all concurrently running queries. Zero means unlimited. */
|
|
893
|
+
max_network_bandwidth_for_all_users?: UInt64;
|
|
894
|
+
/** The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries. Zero means unlimited. */
|
|
895
|
+
max_network_bandwidth_for_user?: UInt64;
|
|
896
|
+
/** The maximum number of bytes (compressed) to receive or transmit over the network for execution of the query. */
|
|
897
|
+
max_network_bytes?: UInt64;
|
|
898
|
+
/** Maximal number of partitions in table to apply optimization */
|
|
899
|
+
max_number_of_partitions_for_independent_aggregation?: UInt64;
|
|
900
|
+
/** The maximum number of replicas of each shard used when the query is executed. For consistency (to get different parts of the same partition), this option only works for the specified sampling key. The lag of the replicas is not controlled. */
|
|
901
|
+
max_parallel_replicas?: UInt64;
|
|
902
|
+
/** Maximum parser depth (recursion depth of recursive descend parser). */
|
|
728
903
|
max_parser_depth?: UInt64;
|
|
729
|
-
/**
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
|
|
745
|
-
/**
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
|
|
753
|
-
/**
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
|
|
779
|
-
/**
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
|
|
785
|
-
/**
|
|
786
|
-
|
|
787
|
-
/**
|
|
788
|
-
|
|
789
|
-
/**
|
|
790
|
-
|
|
791
|
-
/**
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
|
|
801
|
-
/**
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
|
|
805
|
-
/**
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
|
|
809
|
-
/**
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
|
|
823
|
-
/**
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
|
|
829
|
-
/**
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
|
|
861
|
-
/**
|
|
862
|
-
short_circuit_function_evaluation?: ShortCircuitFunctionEvaluation;
|
|
863
|
-
/** Method of reading data from local filesystem (default: "pread_threadpool") */
|
|
864
|
-
local_filesystem_read_method?: string;
|
|
865
|
-
/** Method of reading data from remote filesystem (default: "threadpool") */
|
|
866
|
-
remote_filesystem_read_method?: string;
|
|
867
|
-
/** Should use prefetching when reading data from local filesystem. (default: false) */
|
|
868
|
-
local_filesystem_read_prefetch?: Bool;
|
|
869
|
-
/** Should use prefetching when reading data from remote filesystem. (default: true) */
|
|
870
|
-
remote_filesystem_read_prefetch?: Bool;
|
|
871
|
-
/** Priority to read data from local filesystem. Only supported for 'pread_threadpool' method. (default: 0) */
|
|
872
|
-
read_priority?: Int64;
|
|
873
|
-
/** If at least as many lines are read from one file (default: (20 * 8192)) */
|
|
874
|
-
merge_tree_min_rows_for_concurrent_read_for_remote_filesystem?: UInt64;
|
|
875
|
-
/** If at least as many bytes are read from one file (default: (24 * 10 * 1024 * 1024)) */
|
|
876
|
-
merge_tree_min_bytes_for_concurrent_read_for_remote_filesystem?: UInt64;
|
|
877
|
-
/** Min bytes required for remote read (url (default: 4 * 1048576) */
|
|
878
|
-
remote_read_min_bytes_for_seek?: UInt64;
|
|
879
|
-
/** Maximum number of threads to actually parse and insert data in background. Zero means asynchronous mode is disabled (default: 16) */
|
|
880
|
-
async_insert_threads?: UInt64;
|
|
881
|
-
/** If true (default: false) */
|
|
882
|
-
async_insert?: Bool;
|
|
883
|
-
/** If true wait for processing of asynchronous insertion (default: true) */
|
|
884
|
-
wait_for_async_insert?: Bool;
|
|
885
|
-
/** Timeout for waiting for processing asynchronous insertion (default: 120) */
|
|
886
|
-
wait_for_async_insert_timeout?: Seconds;
|
|
887
|
-
/** Maximum size in bytes of unparsed data collected per query before being inserted (default: 100000) */
|
|
888
|
-
async_insert_max_data_size?: UInt64;
|
|
889
|
-
/** Maximum time to wait before dumping collected data per query since the first data appeared (default: 200) */
|
|
890
|
-
async_insert_busy_timeout_ms?: Milliseconds;
|
|
891
|
-
/** Maximum time to wait before dumping collected data per query since the last data appeared. Zero means no timeout at all (default: 0) */
|
|
892
|
-
async_insert_stale_timeout_ms?: Milliseconds;
|
|
893
|
-
/** Max wait time when trying to read data for remote disk (default: 10000) */
|
|
894
|
-
remote_fs_read_max_backoff_ms?: UInt64;
|
|
895
|
-
/** Max attempts to read with backoff (default: 5) */
|
|
896
|
-
remote_fs_read_backoff_max_tries?: UInt64;
|
|
897
|
-
/** Use cache for remote filesystem. This setting does not turn on/off cache for disks (must be done via disk config) (default: true) */
|
|
898
|
-
enable_filesystem_cache?: Bool;
|
|
899
|
-
/** Allow to wait at most this number of seconds for download of current remote_fs_buffer_size bytes (default: 5) */
|
|
900
|
-
filesystem_cache_max_wait_sec?: UInt64;
|
|
901
|
-
/** Write into cache on write operations. To actually work this setting requires be added to disk config too (default: false) */
|
|
902
|
-
enable_filesystem_cache_on_write_operations?: Bool;
|
|
903
|
-
/** Allows to record the filesystem caching log for each query (default: false) */
|
|
904
|
-
enable_filesystem_cache_log?: Bool;
|
|
905
|
-
/** " (default: false) */
|
|
906
|
-
read_from_filesystem_cache_if_exists_otherwise_bypass_cache?: Bool;
|
|
907
|
-
/** Skip download from remote filesystem if exceeds query cache size (default: true) */
|
|
908
|
-
skip_download_if_exceeds_query_cache?: Bool;
|
|
909
|
-
/** Max remote filesystem cache size that can be used by a single query (default: (128UL * 1024 * 1024 * 1024)) */
|
|
910
|
-
max_query_cache_size?: UInt64;
|
|
911
|
-
/** Use structure from insertion table instead of schema inference from data (default: false) */
|
|
912
|
-
use_structure_from_insertion_table_in_table_functions?: Bool;
|
|
913
|
-
/** Max attempts to read via http. (default: 10) */
|
|
914
|
-
http_max_tries?: UInt64;
|
|
915
|
-
/** Min milliseconds for backoff (default: 100) */
|
|
916
|
-
http_retry_initial_backoff_ms?: UInt64;
|
|
917
|
-
/** Max milliseconds for backoff (default: 10000) */
|
|
918
|
-
http_retry_max_backoff_ms?: UInt64;
|
|
919
|
-
/** Recursively remove data on DROP query. Avoids 'Directory not empty' error (default: false) */
|
|
920
|
-
force_remove_data_recursively_on_drop?: Bool;
|
|
921
|
-
/** Check that DDL query (such as DROP TABLE or RENAME) will not break dependencies (default: true) */
|
|
922
|
-
check_table_dependencies?: Bool;
|
|
923
|
-
/** Use local cache for remote storage like HDFS or S3 (default: true) */
|
|
924
|
-
use_local_cache_for_remote_storage?: Bool;
|
|
925
|
-
/** Allow unrestricted (without condition on path) reads from system.zookeeper table (default: false) */
|
|
926
|
-
allow_unrestricted_reads_from_keeper?: Bool;
|
|
927
|
-
/** Allow to create databases with deprecated Ordinary engine (default: false) */
|
|
928
|
-
allow_deprecated_database_ordinary?: Bool;
|
|
929
|
-
/** Allow to create *MergeTree tables with deprecated engine definition syntax (default: false) */
|
|
930
|
-
allow_deprecated_syntax_for_merge_tree?: Bool;
|
|
931
|
-
/** Changes other settings according to provided ClickHouse version. If we know that we changed some behaviour in ClickHouse by changing some settings in some version (default: "") */
|
|
932
|
-
compatibility?: string;
|
|
933
|
-
/** Additional filter expression which would be applied after reading from specified table. Syntax: {'table1': 'expression' (default: "") */
|
|
934
|
-
additional_table_filters?: Map;
|
|
935
|
-
/** Additional filter expression which would be applied to query result (default: "") */
|
|
936
|
-
additional_result_filter?: string;
|
|
937
|
-
/** Enable experimental functions for funnel analysis. (default: false) */
|
|
938
|
-
allow_experimental_funnel_functions?: Bool;
|
|
939
|
-
/** Enable experimental functions for natural language processing. (default: false) */
|
|
940
|
-
allow_experimental_nlp_functions?: Bool;
|
|
941
|
-
/** Enable experimental hash functions (hashid (default: false) */
|
|
942
|
-
allow_experimental_hash_functions?: Bool;
|
|
943
|
-
/** Allow Object and JSON data types (default: false) */
|
|
944
|
-
allow_experimental_object_type?: Bool;
|
|
945
|
-
/** If not empty, used for duplicate detection instead of data digest (default: "") */
|
|
946
|
-
insert_deduplication_token?: string;
|
|
947
|
-
/** Rewrite count distinct to subquery of group by (default: false) */
|
|
948
|
-
count_distinct_optimization?: Bool;
|
|
949
|
-
/** Throw exception if unsupported query is used inside transaction (default: true) */
|
|
950
|
-
throw_on_unsupported_query_inside_transaction?: Bool;
|
|
951
|
-
/** Wait for committed changes to become actually visible in the latest snapshot (default: 'wait_unknown') */
|
|
952
|
-
wait_changes_become_visible_after_commit_mode?: TransactionsWaitCSNMode;
|
|
953
|
-
/** If enabled and not already inside a transaction (default: false) */
|
|
954
|
-
implicit_transaction?: Bool;
|
|
955
|
-
/** Enables or disables empty INSERTs (default: true) */
|
|
956
|
-
throw_if_no_data_to_insert?: Bool;
|
|
957
|
-
/** Ignore AUTO_INCREMENT keyword in column declaration if true (default: false) */
|
|
958
|
-
compatibility_ignore_auto_increment_in_create_table?: Bool;
|
|
959
|
-
/** Do not add aliases to top level expression list on multiple joins rewrite (default: false) */
|
|
904
|
+
/** Limit maximum number of partitions in single INSERTed block. Zero means unlimited. Throw exception if the block contains too many partitions. This setting is a safety threshold, because using large number of partitions is a common misconception. */
|
|
905
|
+
max_partitions_per_insert_block?: UInt64;
|
|
906
|
+
/** Limit the max number of partitions that can be accessed in one query. <= 0 means unlimited. */
|
|
907
|
+
max_partitions_to_read?: Int64;
|
|
908
|
+
/** The maximum number of bytes of a query string parsed by the SQL parser. Data in the VALUES clause of INSERT queries is processed by a separate stream parser (that consumes O(1) RAM) and not affected by this restriction. */
|
|
909
|
+
max_query_size?: UInt64;
|
|
910
|
+
/** The maximum size of the buffer to read from the filesystem. */
|
|
911
|
+
max_read_buffer_size?: UInt64;
|
|
912
|
+
/** The maximum size of the buffer to read from local filesystem. If set to 0 then max_read_buffer_size will be used. */
|
|
913
|
+
max_read_buffer_size_local_fs?: UInt64;
|
|
914
|
+
/** The maximum size of the buffer to read from remote filesystem. If set to 0 then max_read_buffer_size will be used. */
|
|
915
|
+
max_read_buffer_size_remote_fs?: UInt64;
|
|
916
|
+
/** The maximum speed of data exchange over the network in bytes per second for read. */
|
|
917
|
+
max_remote_read_network_bandwidth?: UInt64;
|
|
918
|
+
/** The maximum speed of data exchange over the network in bytes per second for write. */
|
|
919
|
+
max_remote_write_network_bandwidth?: UInt64;
|
|
920
|
+
/** If set, distributed queries of Replicated tables will choose servers with replication delay in seconds less than the specified value (not inclusive). Zero means do not take delay into account. */
|
|
921
|
+
max_replica_delay_for_distributed_queries?: UInt64;
|
|
922
|
+
/** Limit on result size in bytes (uncompressed). The query will stop after processing a block of data if the threshold is met, but it will not cut the last block of the result, therefore the result size can be larger than the threshold. Caveats: the result size in memory is taken into account for this threshold. Even if the result size is small, it can reference larger data structures in memory, representing dictionaries of LowCardinality columns, and Arenas of AggregateFunction columns, so the threshold can be exceeded despite the small result size. The setting is fairly low level and should be used with caution. */
|
|
923
|
+
max_result_bytes?: UInt64;
|
|
924
|
+
/** Limit on result size in rows. The query will stop after processing a block of data if the threshold is met, but it will not cut the last block of the result, therefore the result size can be larger than the threshold. */
|
|
925
|
+
max_result_rows?: UInt64;
|
|
926
|
+
/** Maximum number of elements during execution of DISTINCT. */
|
|
927
|
+
max_rows_in_distinct?: UInt64;
|
|
928
|
+
/** Maximum size of the hash table for JOIN (in number of rows). */
|
|
929
|
+
max_rows_in_join?: UInt64;
|
|
930
|
+
/** Maximum size of the set (in number of elements) resulting from the execution of the IN section. */
|
|
931
|
+
max_rows_in_set?: UInt64;
|
|
932
|
+
/** Maximal size of the set to filter joined tables by each other row sets before joining. 0 - disable. */
|
|
933
|
+
max_rows_in_set_to_optimize_join?: UInt64;
|
|
934
|
+
/** If aggregation during GROUP BY is generating more than specified number of rows (unique GROUP BY keys), the behavior will be determined by the 'group_by_overflow_mode' which by default is - throw an exception, but can be also switched to an approximate GROUP BY mode. */
|
|
935
|
+
max_rows_to_group_by?: UInt64;
|
|
936
|
+
/** Limit on read rows from the most 'deep' sources. That is, only in the deepest subquery. When reading from a remote server, it is only checked on a remote server. */
|
|
937
|
+
max_rows_to_read?: UInt64;
|
|
938
|
+
/** Limit on read rows on the leaf nodes for distributed queries. Limit is applied for local reads only excluding the final merge stage on the root node. */
|
|
939
|
+
max_rows_to_read_leaf?: UInt64;
|
|
940
|
+
/** If more than specified amount of records have to be processed for ORDER BY operation, the behavior will be determined by the 'sort_overflow_mode' which by default is - throw an exception */
|
|
941
|
+
max_rows_to_sort?: UInt64;
|
|
942
|
+
/** Maximum size (in rows) of the transmitted external table obtained when the GLOBAL IN/JOIN section is executed. */
|
|
943
|
+
max_rows_to_transfer?: UInt64;
|
|
944
|
+
/** For how many elements it is allowed to preallocate space in all hash tables in total before aggregation */
|
|
945
|
+
max_size_to_preallocate_for_aggregation?: UInt64;
|
|
946
|
+
/** If is not zero, limit the number of reading streams for MergeTree table. */
|
|
947
|
+
max_streams_for_merge_tree_reading?: UInt64;
|
|
948
|
+
/** Ask more streams when reading from Merge table. Streams will be spread across tables that Merge table will use. This allows more even distribution of work across threads and especially helpful when merged tables differ in size. */
|
|
949
|
+
max_streams_multiplier_for_merge_tables?: Float;
|
|
950
|
+
/** Allows you to use more sources than the number of threads - to more evenly distribute work across threads. It is assumed that this is a temporary solution, since it will be possible in the future to make the number of sources equal to the number of threads, but for each source to dynamically select available work for itself. */
|
|
951
|
+
max_streams_to_max_threads_ratio?: Float;
|
|
952
|
+
/** If a query has more than specified number of nested subqueries, throw an exception. This allows you to have a sanity check to protect the users of your cluster from going insane with their queries. */
|
|
953
|
+
max_subquery_depth?: UInt64;
|
|
954
|
+
/** If a query generates more than the specified number of temporary columns in memory as a result of intermediate calculation, exception is thrown. Zero value means unlimited. This setting is useful to prevent too complex queries. */
|
|
955
|
+
max_temporary_columns?: UInt64;
|
|
956
|
+
/** The maximum amount of data consumed by temporary files on disk in bytes for all concurrently running queries. Zero means unlimited. */
|
|
957
|
+
max_temporary_data_on_disk_size_for_query?: UInt64;
|
|
958
|
+
/** The maximum amount of data consumed by temporary files on disk in bytes for all concurrently running user queries. Zero means unlimited. */
|
|
959
|
+
max_temporary_data_on_disk_size_for_user?: UInt64;
|
|
960
|
+
/** Similar to the 'max_temporary_columns' setting but applies only to non-constant columns. This makes sense, because constant columns are cheap and it is reasonable to allow more of them. */
|
|
961
|
+
max_temporary_non_const_columns?: UInt64;
|
|
962
|
+
/** The maximum number of threads to execute the request. By default, it is determined automatically. */
|
|
963
|
+
max_threads?: MaxThreads;
|
|
964
|
+
/** Small allocations and deallocations are grouped in thread local variable and tracked or profiled only when amount (in absolute value) becomes larger than specified value. If the value is higher than 'memory_profiler_step' it will be effectively lowered to 'memory_profiler_step'. */
|
|
965
|
+
max_untracked_memory?: UInt64;
|
|
966
|
+
/** It represents soft memory limit on the user level. This value is used to compute query overcommit ratio. */
|
|
967
|
+
memory_overcommit_ratio_denominator?: UInt64;
|
|
968
|
+
/** It represents soft memory limit on the global level. This value is used to compute query overcommit ratio. */
|
|
969
|
+
memory_overcommit_ratio_denominator_for_user?: UInt64;
|
|
970
|
+
/** Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation. Note that sampling happens only when the amount of untracked memory exceeds 'max_untracked_memory'. You may want to set 'max_untracked_memory' to 0 for extra fine grained sampling. */
|
|
971
|
+
memory_profiler_sample_probability?: Float;
|
|
972
|
+
/** Whenever query memory usage becomes larger than every next step in number of bytes the memory profiler will collect the allocating stack trace. Zero means disabled memory profiler. Values lower than a few megabytes will slow down query processing. */
|
|
973
|
+
memory_profiler_step?: UInt64;
|
|
974
|
+
/** For testing of `exception safety` - throw an exception every time you allocate memory with the specified probability. */
|
|
975
|
+
memory_tracker_fault_probability?: Float;
|
|
976
|
+
/** Maximum time thread will wait for memory to be freed in the case of memory overcommit. If timeout is reached and memory is not freed, exception is thrown. */
|
|
977
|
+
memory_usage_overcommit_max_wait_microseconds?: UInt64;
|
|
978
|
+
/** If the index segment can contain the required keys, divide it into as many parts and recursively check them. */
|
|
979
|
+
merge_tree_coarse_index_granularity?: UInt64;
|
|
980
|
+
/** The maximum number of bytes per request, to use the cache of uncompressed data. If the request is large, the cache is not used. (For large queries not to flush out the cache.) */
|
|
981
|
+
merge_tree_max_bytes_to_use_cache?: UInt64;
|
|
982
|
+
/** The maximum number of rows per request, to use the cache of uncompressed data. If the request is large, the cache is not used. (For large queries not to flush out the cache.) */
|
|
983
|
+
merge_tree_max_rows_to_use_cache?: UInt64;
|
|
984
|
+
/** If at least as many bytes are read from one file, the reading can be parallelized. */
|
|
985
|
+
merge_tree_min_bytes_for_concurrent_read?: UInt64;
|
|
986
|
+
/** If at least as many bytes are read from one file, the reading can be parallelized, when reading from remote filesystem. */
|
|
987
|
+
merge_tree_min_bytes_for_concurrent_read_for_remote_filesystem?: UInt64;
|
|
988
|
+
/** You can skip reading more than that number of bytes at the price of one seek per file. */
|
|
989
|
+
merge_tree_min_bytes_for_seek?: UInt64;
|
|
990
|
+
/** Min bytes to read per task. */
|
|
991
|
+
merge_tree_min_bytes_per_task_for_remote_reading?: UInt64;
|
|
992
|
+
/** If at least as many lines are read from one file, the reading can be parallelized. */
|
|
993
|
+
merge_tree_min_rows_for_concurrent_read?: UInt64;
|
|
994
|
+
/** If at least as many lines are read from one file, the reading can be parallelized, when reading from remote filesystem. */
|
|
995
|
+
merge_tree_min_rows_for_concurrent_read_for_remote_filesystem?: UInt64;
|
|
996
|
+
/** You can skip reading more than that number of rows at the price of one seek per file. */
|
|
997
|
+
merge_tree_min_rows_for_seek?: UInt64;
|
|
998
|
+
/** Whether to use constant size tasks for reading from a remote table. */
|
|
999
|
+
merge_tree_use_const_size_tasks_for_remote_reading?: Bool;
|
|
1000
|
+
/** If enabled, some of the perf events will be measured throughout queries' execution. */
|
|
1001
|
+
metrics_perf_events_enabled?: Bool;
|
|
1002
|
+
/** Comma separated list of perf metrics that will be measured throughout queries' execution. Empty means all events. See PerfEventInfo in sources for the available events. */
|
|
1003
|
+
metrics_perf_events_list?: string;
|
|
1004
|
+
/** The minimum number of bytes for reading the data with O_DIRECT option during SELECT queries execution. 0 - disabled. */
|
|
1005
|
+
min_bytes_to_use_direct_io?: UInt64;
|
|
1006
|
+
/** The minimum number of bytes for reading the data with mmap option during SELECT queries execution. 0 - disabled. */
|
|
1007
|
+
min_bytes_to_use_mmap_io?: UInt64;
|
|
1008
|
+
/** The minimum chunk size in bytes, which each thread will parse in parallel. */
|
|
1009
|
+
min_chunk_bytes_for_parallel_parsing?: UInt64;
|
|
1010
|
+
/** The actual size of the block to compress, if the uncompressed data less than max_compress_block_size is no less than this value and no less than the volume of data for one mark. */
|
|
1011
|
+
min_compress_block_size?: UInt64;
|
|
1012
|
+
/** The number of identical aggregate expressions before they are JIT-compiled */
|
|
1013
|
+
min_count_to_compile_aggregate_expression?: UInt64;
|
|
1014
|
+
/** The number of identical expressions before they are JIT-compiled */
|
|
1015
|
+
min_count_to_compile_expression?: UInt64;
|
|
1016
|
+
/** The number of identical sort descriptions before they are JIT-compiled */
|
|
1017
|
+
min_count_to_compile_sort_description?: UInt64;
|
|
1018
|
+
/** Minimum number of execution rows per second. */
|
|
1019
|
+
min_execution_speed?: UInt64;
|
|
1020
|
+
/** Minimum number of execution bytes per second. */
|
|
1021
|
+
min_execution_speed_bytes?: UInt64;
|
|
1022
|
+
/** The minimum disk space to keep while writing temporary data used in external sorting and aggregation. */
|
|
1023
|
+
min_free_disk_space_for_temporary_data?: UInt64;
|
|
1024
|
+
/** Squash blocks passed to INSERT query to specified size in bytes, if blocks are not big enough. */
|
|
1025
|
+
min_insert_block_size_bytes?: UInt64;
|
|
1026
|
+
/** Like min_insert_block_size_bytes, but applied only during pushing to MATERIALIZED VIEW (default: min_insert_block_size_bytes) */
|
|
1027
|
+
min_insert_block_size_bytes_for_materialized_views?: UInt64;
|
|
1028
|
+
/** Squash blocks passed to INSERT query to specified size in rows, if blocks are not big enough. */
|
|
1029
|
+
min_insert_block_size_rows?: UInt64;
|
|
1030
|
+
/** Like min_insert_block_size_rows, but applied only during pushing to MATERIALIZED VIEW (default: min_insert_block_size_rows) */
|
|
1031
|
+
min_insert_block_size_rows_for_materialized_views?: UInt64;
|
|
1032
|
+
/** Move all viable conditions from WHERE to PREWHERE */
|
|
1033
|
+
move_all_conditions_to_prewhere?: Bool;
|
|
1034
|
+
/** Move PREWHERE conditions containing primary key columns to the end of AND chain. It is likely that these conditions are taken into account during primary key analysis and thus will not contribute a lot to PREWHERE filtering. */
|
|
1035
|
+
move_primary_key_columns_to_end_of_prewhere?: Bool;
|
|
1036
|
+
/** Do not add aliases to top level expression list on multiple joins rewrite */
|
|
960
1037
|
multiple_joins_try_to_keep_original_names?: Bool;
|
|
961
|
-
/**
|
|
1038
|
+
/** Wait for synchronous execution of ALTER TABLE UPDATE/DELETE queries (mutations). 0 - execute asynchronously. 1 - wait current server. 2 - wait all replicas if they exist. */
|
|
1039
|
+
mutations_sync?: UInt64;
|
|
1040
|
+
/** Which MySQL types should be converted to corresponding ClickHouse types (rather than being represented as String). Can be empty or any combination of 'decimal', 'datetime64', 'date2Date32' or 'date2String'. When empty MySQL's DECIMAL and DATETIME/TIMESTAMP with non-zero precision are seen as String on ClickHouse's side. */
|
|
1041
|
+
mysql_datatypes_support_level?: MySQLDataTypesSupport;
|
|
1042
|
+
/** The maximum number of rows in MySQL batch insertion of the MySQL storage engine */
|
|
1043
|
+
mysql_max_rows_to_insert?: UInt64;
|
|
1044
|
+
/** Allows you to select the method of data compression when writing. */
|
|
1045
|
+
network_compression_method?: string;
|
|
1046
|
+
/** Allows you to select the level of ZSTD compression. */
|
|
1047
|
+
network_zstd_compression_level?: Int64;
|
|
1048
|
+
/** Normalize function names to their canonical names */
|
|
1049
|
+
normalize_function_names?: Bool;
|
|
1050
|
+
/** If the mutated table contains at least that many unfinished mutations, artificially slow down mutations of table. 0 - disabled */
|
|
1051
|
+
number_of_mutations_to_delay?: UInt64;
|
|
1052
|
+
/** If the mutated table contains at least that many unfinished mutations, throw 'Too many mutations ...' exception. 0 - disabled */
|
|
1053
|
+
number_of_mutations_to_throw?: UInt64;
|
|
1054
|
+
/** Connection pool size for each connection settings string in ODBC bridge. */
|
|
1055
|
+
odbc_bridge_connection_pool_size?: UInt64;
|
|
1056
|
+
/** Use connection pooling in ODBC bridge. If set to false, a new connection is created every time */
|
|
1057
|
+
odbc_bridge_use_connection_pooling?: Bool;
|
|
1058
|
+
/** Offset on read rows from the most 'end' result for select query */
|
|
1059
|
+
offset?: UInt64;
|
|
1060
|
+
/** Probability to start an OpenTelemetry trace for an incoming query. */
|
|
1061
|
+
opentelemetry_start_trace_probability?: Float;
|
|
1062
|
+
/** Collect OpenTelemetry spans for processors. */
|
|
1063
|
+
opentelemetry_trace_processors?: Bool;
|
|
1064
|
+
/** Enable GROUP BY optimization for aggregating data in corresponding order in MergeTree tables. */
|
|
1065
|
+
optimize_aggregation_in_order?: Bool;
|
|
1066
|
+
/** Eliminates min/max/any/anyLast aggregators of GROUP BY keys in SELECT section */
|
|
1067
|
+
optimize_aggregators_of_group_by_keys?: Bool;
|
|
1068
|
+
/** Use constraints in order to append index condition (indexHint) */
|
|
1069
|
+
optimize_append_index?: Bool;
|
|
1070
|
+
/** Move arithmetic operations out of aggregation functions */
|
|
1071
|
+
optimize_arithmetic_operations_in_aggregate_functions?: Bool;
|
|
1072
|
+
/** Enable DISTINCT optimization if some columns in DISTINCT form a prefix of sorting. For example, prefix of sorting key in merge tree or ORDER BY statement */
|
|
962
1073
|
optimize_distinct_in_order?: Bool;
|
|
963
|
-
/** Optimize
|
|
1074
|
+
/** Optimize GROUP BY sharding_key queries (by avoiding costly aggregation on the initiator server). */
|
|
1075
|
+
optimize_distributed_group_by_sharding_key?: Bool;
|
|
1076
|
+
/** Transform functions to subcolumns, if possible, to reduce amount of read data. E.g. 'length(arr)' -> 'arr.size0', 'col IS NULL' -> 'col.null' */
|
|
1077
|
+
optimize_functions_to_subcolumns?: Bool;
|
|
1078
|
+
/** Eliminates functions of other keys in GROUP BY section */
|
|
1079
|
+
optimize_group_by_function_keys?: Bool;
|
|
1080
|
+
/** Replace if(cond1, then1, if(cond2, ...)) chains to multiIf. Currently it's not beneficial for numeric types. */
|
|
1081
|
+
optimize_if_chain_to_multiif?: Bool;
|
|
1082
|
+
/** Replaces string-type arguments in If and Transform to enum. Disabled by default cause it could make inconsistent change in distributed query that would lead to its fail. */
|
|
1083
|
+
optimize_if_transform_strings_to_enum?: Bool;
|
|
1084
|
+
/** Delete injective functions of one argument inside uniq*() functions. */
|
|
1085
|
+
optimize_injective_functions_inside_uniq?: Bool;
|
|
1086
|
+
/** The minimum length of the expression `expr = x1 OR ... expr = xN` for optimization */
|
|
1087
|
+
optimize_min_equality_disjunction_chain_length?: UInt64;
|
|
1088
|
+
/** Replace monotonous function with its argument in ORDER BY */
|
|
1089
|
+
optimize_monotonous_functions_in_order_by?: Bool;
|
|
1090
|
+
/** Move functions out of aggregate functions 'any', 'anyLast'. */
|
|
1091
|
+
optimize_move_functions_out_of_any?: Bool;
|
|
1092
|
+
/** Allows disabling WHERE to PREWHERE optimization in SELECT queries from MergeTree. */
|
|
1093
|
+
optimize_move_to_prewhere?: Bool;
|
|
1094
|
+
/** If query has `FINAL`, the optimization `move_to_prewhere` is not always correct and it is enabled only if both settings `optimize_move_to_prewhere` and `optimize_move_to_prewhere_if_final` are turned on */
|
|
1095
|
+
optimize_move_to_prewhere_if_final?: Bool;
|
|
1096
|
+
/** Replace 'multiIf' with only one condition to 'if'. */
|
|
1097
|
+
optimize_multiif_to_if?: Bool;
|
|
1098
|
+
/** Rewrite aggregate functions that semantically equals to count() as count(). */
|
|
1099
|
+
optimize_normalize_count_variants?: Bool;
|
|
1100
|
+
/** Do the same transformation for inserted block of data as if merge was done on this block. */
|
|
1101
|
+
optimize_on_insert?: Bool;
|
|
1102
|
+
/** Optimize multiple OR LIKE into multiMatchAny. This optimization should not be enabled by default, because it defies index analysis in some cases. */
|
|
1103
|
+
optimize_or_like_chain?: Bool;
|
|
1104
|
+
/** Enable ORDER BY optimization for reading data in corresponding order in MergeTree tables. */
|
|
1105
|
+
optimize_read_in_order?: Bool;
|
|
1106
|
+
/** Enable ORDER BY optimization in window clause for reading data in corresponding order in MergeTree tables. */
|
|
1107
|
+
optimize_read_in_window_order?: Bool;
|
|
1108
|
+
/** Remove functions from ORDER BY if its argument is also in ORDER BY */
|
|
1109
|
+
optimize_redundant_functions_in_order_by?: Bool;
|
|
1110
|
+
/** If it is set to true, it will respect aliases in WHERE/GROUP BY/ORDER BY, that will help with partition pruning/secondary indexes/optimize_aggregation_in_order/optimize_read_in_order/optimize_trivial_count */
|
|
1111
|
+
optimize_respect_aliases?: Bool;
|
|
1112
|
+
/** Rewrite aggregate functions with if expression as argument when logically equivalent. For example, avg(if(cond, col, null)) can be rewritten to avgIf(cond, col) */
|
|
1113
|
+
optimize_rewrite_aggregate_function_with_if?: Bool;
|
|
1114
|
+
/** Rewrite arrayExists() functions to has() when logically equivalent. For example, arrayExists(x -> x = 1, arr) can be rewritten to has(arr, 1) */
|
|
1115
|
+
optimize_rewrite_array_exists_to_has?: Bool;
|
|
1116
|
+
/** Rewrite sumIf() and sum(if()) function countIf() function when logically equivalent */
|
|
1117
|
+
optimize_rewrite_sum_if_to_count_if?: Bool;
|
|
1118
|
+
/** Skip partitions with one part with level > 0 in optimize final */
|
|
1119
|
+
optimize_skip_merged_partitions?: Bool;
|
|
1120
|
+
/** Assumes that data is distributed by sharding_key. Optimization to skip unused shards if SELECT query filters by sharding_key. */
|
|
1121
|
+
optimize_skip_unused_shards?: Bool;
|
|
1122
|
+
/** Limit for number of sharding key values, turns off optimize_skip_unused_shards if the limit is reached */
|
|
1123
|
+
optimize_skip_unused_shards_limit?: UInt64;
|
|
1124
|
+
/** Same as optimize_skip_unused_shards, but accept nesting level until which it will work. */
|
|
1125
|
+
optimize_skip_unused_shards_nesting?: UInt64;
|
|
1126
|
+
/** Rewrite IN in query for remote shards to exclude values that does not belong to the shard (requires optimize_skip_unused_shards) */
|
|
1127
|
+
optimize_skip_unused_shards_rewrite_in?: Bool;
|
|
1128
|
+
/** Optimize sorting by sorting properties of input stream */
|
|
964
1129
|
optimize_sorting_by_input_stream_properties?: Bool;
|
|
965
|
-
/**
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
|
|
969
|
-
/** If
|
|
970
|
-
|
|
971
|
-
/**
|
|
1130
|
+
/** Use constraints for column substitution */
|
|
1131
|
+
optimize_substitute_columns?: Bool;
|
|
1132
|
+
/** Allow applying fuse aggregating function. Available only with `allow_experimental_analyzer` */
|
|
1133
|
+
optimize_syntax_fuse_functions?: Bool;
|
|
1134
|
+
/** If setting is enabled and OPTIMIZE query didn't actually assign a merge then an explanatory exception is thrown */
|
|
1135
|
+
optimize_throw_if_noop?: Bool;
|
|
1136
|
+
/** Process trivial 'SELECT count() FROM table' query from metadata. */
|
|
1137
|
+
optimize_trivial_count_query?: Bool;
|
|
1138
|
+
/** Optimize trivial 'INSERT INTO table SELECT ... FROM TABLES' query */
|
|
1139
|
+
optimize_trivial_insert_select?: Bool;
|
|
1140
|
+
/** Automatically choose implicit projections to perform SELECT query */
|
|
1141
|
+
optimize_use_implicit_projections?: Bool;
|
|
1142
|
+
/** Automatically choose projections to perform SELECT query */
|
|
1143
|
+
optimize_use_projections?: Bool;
|
|
1144
|
+
/** Use constraints for query optimization */
|
|
1145
|
+
optimize_using_constraints?: Bool;
|
|
1146
|
+
/** If non zero - set corresponding 'nice' value for query processing threads. Can be used to adjust query priority for OS scheduler. */
|
|
1147
|
+
os_thread_priority?: Int64;
|
|
1148
|
+
/** Compression method for Arrow output format. Supported codecs: lz4_frame, zstd, none (uncompressed) */
|
|
1149
|
+
output_format_arrow_compression_method?: ArrowCompression;
|
|
1150
|
+
/** Use Arrow FIXED_SIZE_BINARY type instead of Binary for FixedString columns. */
|
|
1151
|
+
output_format_arrow_fixed_string_as_fixed_byte_array?: Bool;
|
|
1152
|
+
/** Enable output LowCardinality type as Dictionary Arrow type */
|
|
1153
|
+
output_format_arrow_low_cardinality_as_dictionary?: Bool;
|
|
1154
|
+
/** Use Arrow String type instead of Binary for String columns */
|
|
1155
|
+
output_format_arrow_string_as_string?: Bool;
|
|
1156
|
+
/** Compression codec used for output. Possible values: 'null', 'deflate', 'snappy'. */
|
|
1157
|
+
output_format_avro_codec?: string;
|
|
1158
|
+
/** Max rows in a file (if permitted by storage) */
|
|
1159
|
+
output_format_avro_rows_in_file?: UInt64;
|
|
1160
|
+
/** For Avro format: regexp of String columns to select as AVRO string. */
|
|
1161
|
+
output_format_avro_string_column_pattern?: string;
|
|
1162
|
+
/** Sync interval in bytes. */
|
|
1163
|
+
output_format_avro_sync_interval?: UInt64;
|
|
1164
|
+
/** Use BSON String type instead of Binary for String columns. */
|
|
1165
|
+
output_format_bson_string_as_string?: Bool;
|
|
1166
|
+
/** If it is set true, end of line in CSV format will be \\r\\n instead of \\n. */
|
|
972
1167
|
output_format_csv_crlf_end_of_line?: Bool;
|
|
973
|
-
/**
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
|
|
979
|
-
/**
|
|
980
|
-
input_format_with_names_use_header?: Bool;
|
|
981
|
-
/** For -WithNamesAndTypes input formats this controls whether format parser should check if data types from the input match data types from the header. (default: true) */
|
|
982
|
-
input_format_with_types_use_header?: Bool;
|
|
983
|
-
/** Map nested JSON data to nested tables (it works for JSONEachRow format). (default: false) */
|
|
984
|
-
input_format_import_nested_json?: Bool;
|
|
985
|
-
/** For input data calculate default expressions for omitted fields (it works for JSONEachRow (default: true) */
|
|
986
|
-
input_format_defaults_for_omitted_fields?: Bool;
|
|
987
|
-
/** Treat empty fields in CSV input as default values. (default: true) */
|
|
988
|
-
input_format_csv_empty_as_default?: Bool;
|
|
989
|
-
/** Treat empty fields in TSV input as default values. (default: false) */
|
|
990
|
-
input_format_tsv_empty_as_default?: Bool;
|
|
991
|
-
/** Treat inserted enum values in TSV formats as enum indices. (default: false) */
|
|
992
|
-
input_format_tsv_enum_as_number?: Bool;
|
|
993
|
-
/** For text input formats initialize null fields with default values if data type of this field is not nullable (default: true) */
|
|
994
|
-
input_format_null_as_default?: Bool;
|
|
995
|
-
/** Allow to insert array of structs into Nested table in Arrow input format. (default: false) */
|
|
996
|
-
input_format_arrow_import_nested?: Bool;
|
|
997
|
-
/** Ignore case when matching Arrow columns with CH columns. (default: false) */
|
|
998
|
-
input_format_arrow_case_insensitive_column_matching?: Bool;
|
|
999
|
-
/** Allow to insert array of structs into Nested table in ORC input format. (default: false) */
|
|
1000
|
-
input_format_orc_import_nested?: Bool;
|
|
1001
|
-
/** Batch size when reading ORC stripes. (default: 100'000) */
|
|
1002
|
-
input_format_orc_row_batch_size?: Int64;
|
|
1003
|
-
/** Ignore case when matching ORC columns with CH columns. (default: false) */
|
|
1004
|
-
input_format_orc_case_insensitive_column_matching?: Bool;
|
|
1005
|
-
/** Allow to insert array of structs into Nested table in Parquet input format. (default: false) */
|
|
1006
|
-
input_format_parquet_import_nested?: Bool;
|
|
1007
|
-
/** Ignore case when matching Parquet columns with CH columns. (default: false) */
|
|
1008
|
-
input_format_parquet_case_insensitive_column_matching?: Bool;
|
|
1009
|
-
/** Allow seeks while reading in ORC/Parquet/Arrow input formats (default: true) */
|
|
1010
|
-
input_format_allow_seeks?: Bool;
|
|
1011
|
-
/** Allow missing columns while reading ORC input formats (default: false) */
|
|
1012
|
-
input_format_orc_allow_missing_columns?: Bool;
|
|
1013
|
-
/** Allow missing columns while reading Parquet input formats (default: false) */
|
|
1014
|
-
input_format_parquet_allow_missing_columns?: Bool;
|
|
1015
|
-
/** Allow missing columns while reading Arrow input formats (default: false) */
|
|
1016
|
-
input_format_arrow_allow_missing_columns?: Bool;
|
|
1017
|
-
/** Delimiter between fields in Hive Text File (default: '\x01') */
|
|
1018
|
-
input_format_hive_text_fields_delimiter?: Char;
|
|
1019
|
-
/** Delimiter between collection(array or map) items in Hive Text File (default: '\x02') */
|
|
1020
|
-
input_format_hive_text_collection_items_delimiter?: Char;
|
|
1021
|
-
/** Delimiter between a pair of map key/values in Hive Text File (default: '\x03') */
|
|
1022
|
-
input_format_hive_text_map_keys_delimiter?: Char;
|
|
1023
|
-
/** The number of columns in inserted MsgPack data. Used for automatic schema inference from data. (default: 0) */
|
|
1024
|
-
input_format_msgpack_number_of_columns?: UInt64;
|
|
1025
|
-
/** The way how to output UUID in MsgPack format. (default: 'ext') */
|
|
1026
|
-
output_format_msgpack_uuid_representation?: MsgPackUUIDRepresentation;
|
|
1027
|
-
/** The maximum rows of data to read for automatic schema inference (default: 25000) */
|
|
1028
|
-
input_format_max_rows_to_read_for_schema_inference?: UInt64;
|
|
1029
|
-
/** Use some tweaks and heuristics to infer schema in CSV format (default: true) */
|
|
1030
|
-
input_format_csv_use_best_effort_in_schema_inference?: Bool;
|
|
1031
|
-
/** Use some tweaks and heuristics to infer schema in TSV format (default: true) */
|
|
1032
|
-
input_format_tsv_use_best_effort_in_schema_inference?: Bool;
|
|
1033
|
-
/** Skip columns with unsupported types while schema inference for format Parquet (default: false) */
|
|
1034
|
-
input_format_parquet_skip_columns_with_unsupported_types_in_schema_inference?: Bool;
|
|
1035
|
-
/** Skip fields with unsupported types while schema inference for format Protobuf (default: false) */
|
|
1036
|
-
input_format_protobuf_skip_fields_with_unsupported_types_in_schema_inference?: Bool;
|
|
1037
|
-
/** Skip columns with unsupported types while schema inference for format CapnProto (default: false) */
|
|
1038
|
-
input_format_capn_proto_skip_fields_with_unsupported_types_in_schema_inference?: Bool;
|
|
1039
|
-
/** Skip columns with unsupported types while schema inference for format ORC (default: false) */
|
|
1040
|
-
input_format_orc_skip_columns_with_unsupported_types_in_schema_inference?: Bool;
|
|
1041
|
-
/** Skip columns with unsupported types while schema inference for format Arrow (default: false) */
|
|
1042
|
-
input_format_arrow_skip_columns_with_unsupported_types_in_schema_inference?: Bool;
|
|
1043
|
-
/** The list of column names to use in schema inference for formats without column names. The format: 'column1 (default: "") */
|
|
1044
|
-
column_names_for_schema_inference?: string;
|
|
1045
|
-
/** Allow to parse bools as numbers in JSON input formats (default: true) */
|
|
1046
|
-
input_format_json_read_bools_as_numbers?: Bool;
|
|
1047
|
-
/** Try to infer numbers from string fields while schema inference (default: true) */
|
|
1048
|
-
input_format_json_try_infer_numbers_from_strings?: Bool;
|
|
1049
|
-
/** Try to infer numbers from string fields while schema inference in text formats (default: true) */
|
|
1050
|
-
input_format_try_infer_integers?: Bool;
|
|
1051
|
-
/** Try to infer dates from string fields while schema inference in text formats (default: true) */
|
|
1052
|
-
input_format_try_infer_dates?: Bool;
|
|
1053
|
-
/** Try to infer datetimes from string fields while schema inference in text formats (default: true) */
|
|
1054
|
-
input_format_try_infer_datetimes?: Bool;
|
|
1055
|
-
/** Enable Google wrappers for regular non-nested columns (default: false) */
|
|
1056
|
-
input_format_protobuf_flatten_google_wrappers?: Bool;
|
|
1057
|
-
/** When serializing Nullable columns with Google wrappers (default: false) */
|
|
1058
|
-
output_format_protobuf_nullables_with_google_wrappers?: Bool;
|
|
1059
|
-
/** Skip specified number of lines at the beginning of data in CSV format (default: 0) */
|
|
1060
|
-
input_format_csv_skip_first_lines?: UInt64;
|
|
1061
|
-
/** Skip specified number of lines at the beginning of data in TSV format (default: 0) */
|
|
1062
|
-
input_format_tsv_skip_first_lines?: UInt64;
|
|
1063
|
-
/** Method to read DateTime from text input formats (default: 'basic') */
|
|
1064
|
-
date_time_input_format?: DateTimeInputFormat;
|
|
1065
|
-
/** Method to write DateTime to text output (default: 'simple') */
|
|
1066
|
-
date_time_output_format?: DateTimeOutputFormat;
|
|
1067
|
-
/** Deserialization of IPv4 will use default values instead of throwing exception on conversion error. (default: false) */
|
|
1068
|
-
input_format_ipv4_default_on_conversion_error?: Bool;
|
|
1069
|
-
/** Deserialization of IPV6 will use default values instead of throwing exception on conversion error. (default: false) */
|
|
1070
|
-
input_format_ipv6_default_on_conversion_error?: Bool;
|
|
1071
|
-
/** Text to represent bool value in TSV/CSV formats. (default: "true") */
|
|
1072
|
-
bool_true_representation?: string;
|
|
1073
|
-
/** Text to represent bool value in TSV/CSV formats. (default: "false") */
|
|
1074
|
-
bool_false_representation?: string;
|
|
1075
|
-
/** For Values format: if the field could not be parsed by streaming parser (default: true) */
|
|
1076
|
-
input_format_values_interpret_expressions?: Bool;
|
|
1077
|
-
/** For Values format: if the field could not be parsed by streaming parser (default: true) */
|
|
1078
|
-
input_format_values_deduce_templates_of_expressions?: Bool;
|
|
1079
|
-
/** For Values format: when parsing and interpreting expressions using template (default: true) */
|
|
1080
|
-
input_format_values_accurate_types_of_literals?: Bool;
|
|
1081
|
-
/** For Avro/AvroConfluent format: when field is not found in schema use default value instead of error (default: false) */
|
|
1082
|
-
input_format_avro_allow_missing_fields?: Bool;
|
|
1083
|
-
/** For Avro/AvroConfluent format: insert default in case of null and non Nullable column (default: false) */
|
|
1084
|
-
input_format_avro_null_as_default?: Bool;
|
|
1085
|
-
/** For AvroConfluent format: Confluent Schema Registry URL. (default: "") */
|
|
1086
|
-
format_avro_schema_registry_url?: URI;
|
|
1087
|
-
/** Controls quoting of 64-bit integers in JSON output format. (default: true) */
|
|
1088
|
-
output_format_json_quote_64bit_integers?: Bool;
|
|
1089
|
-
/** Enables '+nan' (default: false) */
|
|
1090
|
-
output_format_json_quote_denormals?: Bool;
|
|
1091
|
-
/** Controls escaping forward slashes for string outputs in JSON output format. This is intended for compatibility with JavaScript. Don't confuse with backslashes that are always escaped. (default: true) */
|
|
1168
|
+
/** Output trailing zeros when printing Decimal values. E.g. 1.230000 instead of 1.23. */
|
|
1169
|
+
output_format_decimal_trailing_zeros?: Bool;
|
|
1170
|
+
/** Enable streaming in output formats that support it. */
|
|
1171
|
+
output_format_enable_streaming?: Bool;
|
|
1172
|
+
/** Output a JSON array of all rows in JSONEachRow(Compact) format. */
|
|
1173
|
+
output_format_json_array_of_rows?: Bool;
|
|
1174
|
+
/** Controls escaping forward slashes for string outputs in JSON output format. This is intended for compatibility with JavaScript. Don't confuse with backslashes that are always escaped. */
|
|
1092
1175
|
output_format_json_escape_forward_slashes?: Bool;
|
|
1093
|
-
/** Serialize named tuple columns as JSON objects.
|
|
1176
|
+
/** Serialize named tuple columns as JSON objects. */
|
|
1094
1177
|
output_format_json_named_tuples_as_objects?: Bool;
|
|
1095
|
-
/**
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
|
|
1099
|
-
/**
|
|
1100
|
-
|
|
1101
|
-
/**
|
|
1102
|
-
|
|
1103
|
-
/**
|
|
1104
|
-
|
|
1105
|
-
/**
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1178
|
+
/** Controls quoting of 64-bit float numbers in JSON output format. */
|
|
1179
|
+
output_format_json_quote_64bit_floats?: Bool;
|
|
1180
|
+
/** Controls quoting of 64-bit integers in JSON output format. */
|
|
1181
|
+
output_format_json_quote_64bit_integers?: Bool;
|
|
1182
|
+
/** Controls quoting of decimals in JSON output format. */
|
|
1183
|
+
output_format_json_quote_decimals?: Bool;
|
|
1184
|
+
/** Enables '+nan', '-nan', '+inf', '-inf' outputs in JSON output format. */
|
|
1185
|
+
output_format_json_quote_denormals?: Bool;
|
|
1186
|
+
/** Validate UTF-8 sequences in JSON output formats, doesn't impact formats JSON/JSONCompact/JSONColumnsWithMetadata, they always validate utf8 */
|
|
1187
|
+
output_format_json_validate_utf8?: Bool;
|
|
1188
|
+
/** The way how to output UUID in MsgPack format. */
|
|
1189
|
+
output_format_msgpack_uuid_representation?: MsgPackUUIDRepresentation;
|
|
1190
|
+
/** Compression method for ORC output format. Supported codecs: lz4, snappy, zlib, zstd, none (uncompressed) */
|
|
1191
|
+
output_format_orc_compression_method?: ORCCompression;
|
|
1192
|
+
/** Use ORC String type instead of Binary for String columns */
|
|
1193
|
+
output_format_orc_string_as_string?: Bool;
|
|
1194
|
+
/** Enable parallel formatting for some data formats. */
|
|
1195
|
+
output_format_parallel_formatting?: Bool;
|
|
1196
|
+
/** In parquet file schema, use name 'element' instead of 'item' for list elements. This is a historical artifact of Arrow library implementation. Generally increases compatibility, except perhaps with some old versions of Arrow. */
|
|
1197
|
+
output_format_parquet_compliant_nested_types?: Bool;
|
|
1198
|
+
/** Compression method for Parquet output format. Supported codecs: snappy, lz4, brotli, zstd, gzip, none (uncompressed) */
|
|
1199
|
+
output_format_parquet_compression_method?: ParquetCompression;
|
|
1200
|
+
/** Use Parquet FIXED_LENGTH_BYTE_ARRAY type instead of Binary for FixedString columns. */
|
|
1201
|
+
output_format_parquet_fixed_string_as_fixed_byte_array?: Bool;
|
|
1202
|
+
/** Target row group size in rows. */
|
|
1108
1203
|
output_format_parquet_row_group_size?: UInt64;
|
|
1109
|
-
/**
|
|
1204
|
+
/** Target row group size in bytes, before compression. */
|
|
1205
|
+
output_format_parquet_row_group_size_bytes?: UInt64;
|
|
1206
|
+
/** Use Parquet String type instead of Binary for String columns. */
|
|
1110
1207
|
output_format_parquet_string_as_string?: Bool;
|
|
1111
|
-
/**
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
|
|
1117
|
-
/**
|
|
1118
|
-
|
|
1119
|
-
/**
|
|
1120
|
-
|
|
1121
|
-
/**
|
|
1122
|
-
|
|
1123
|
-
/**
|
|
1124
|
-
format_tsv_null_representation?: string;
|
|
1125
|
-
/** Output trailing zeros when printing Decimal values. E.g. 1.230000 instead of 1.23. (default: false) */
|
|
1126
|
-
output_format_decimal_trailing_zeros?: Bool;
|
|
1127
|
-
/** Maximum absolute amount of errors while reading text formats (like CSV (default: 0) */
|
|
1128
|
-
input_format_allow_errors_num?: UInt64;
|
|
1129
|
-
/** Maximum relative amount of errors while reading text formats (like CSV (default: 0) */
|
|
1130
|
-
input_format_allow_errors_ratio?: Float;
|
|
1131
|
-
/** Schema identifier (used by schema-based formats) (default: "") */
|
|
1132
|
-
format_schema?: string;
|
|
1133
|
-
/** Path to file which contains format string for result set (for Template format) (default: "") */
|
|
1134
|
-
format_template_resultset?: string;
|
|
1135
|
-
/** Path to file which contains format string for rows (for Template format) (default: "") */
|
|
1136
|
-
format_template_row?: string;
|
|
1137
|
-
/** Delimiter between rows (for Template format) (default: "\n") */
|
|
1138
|
-
format_template_rows_between_delimiter?: string;
|
|
1139
|
-
/** Field escaping rule (for CustomSeparated format) (default: "Escaped") */
|
|
1140
|
-
format_custom_escaping_rule?: EscapingRule;
|
|
1141
|
-
/** Delimiter between fields (for CustomSeparated format) (default: "\t") */
|
|
1142
|
-
format_custom_field_delimiter?: string;
|
|
1143
|
-
/** Delimiter before field of the first column (for CustomSeparated format) (default: "") */
|
|
1144
|
-
format_custom_row_before_delimiter?: string;
|
|
1145
|
-
/** Delimiter after field of the last column (for CustomSeparated format) (default: "\n") */
|
|
1146
|
-
format_custom_row_after_delimiter?: string;
|
|
1147
|
-
/** Delimiter between rows (for CustomSeparated format) (default: "") */
|
|
1148
|
-
format_custom_row_between_delimiter?: string;
|
|
1149
|
-
/** Prefix before result set (for CustomSeparated format) (default: "") */
|
|
1150
|
-
format_custom_result_before_delimiter?: string;
|
|
1151
|
-
/** Suffix after result set (for CustomSeparated format) (default: "") */
|
|
1152
|
-
format_custom_result_after_delimiter?: string;
|
|
1153
|
-
/** Regular expression (for Regexp format) (default: "") */
|
|
1154
|
-
format_regexp?: string;
|
|
1155
|
-
/** Field escaping rule (for Regexp format) (default: "Raw") */
|
|
1156
|
-
format_regexp_escaping_rule?: EscapingRule;
|
|
1157
|
-
/** Skip lines unmatched by regular expression (for Regexp format) (default: false) */
|
|
1158
|
-
format_regexp_skip_unmatched?: Bool;
|
|
1159
|
-
/** Enable streaming in output formats that support it. (default: false) */
|
|
1160
|
-
output_format_enable_streaming?: Bool;
|
|
1161
|
-
/** Write statistics about read rows (default: true) */
|
|
1162
|
-
output_format_write_statistics?: Bool;
|
|
1163
|
-
/** Add row numbers before each row for pretty output format (default: false) */
|
|
1208
|
+
/** Parquet format version for output format. Supported versions: 1.0, 2.4, 2.6 and 2.latest (default) */
|
|
1209
|
+
output_format_parquet_version?: ParquetVersion;
|
|
1210
|
+
/** Use ANSI escape sequences to paint colors in Pretty formats */
|
|
1211
|
+
output_format_pretty_color?: Bool;
|
|
1212
|
+
/** Charset for printing grid borders. Available charsets: ASCII, UTF-8 (default one). */
|
|
1213
|
+
output_format_pretty_grid_charset?: string;
|
|
1214
|
+
/** Maximum width to pad all values in a column in Pretty formats. */
|
|
1215
|
+
output_format_pretty_max_column_pad_width?: UInt64;
|
|
1216
|
+
/** Rows limit for Pretty formats. */
|
|
1217
|
+
output_format_pretty_max_rows?: UInt64;
|
|
1218
|
+
/** Maximum width of value to display in Pretty formats. If greater - it will be cut. */
|
|
1219
|
+
output_format_pretty_max_value_width?: UInt64;
|
|
1220
|
+
/** Add row numbers before each row for pretty output format */
|
|
1164
1221
|
output_format_pretty_row_numbers?: Bool;
|
|
1165
|
-
/**
|
|
1166
|
-
|
|
1167
|
-
/**
|
|
1168
|
-
|
|
1169
|
-
/**
|
|
1170
|
-
cross_to_inner_join_rewrite?: UInt64;
|
|
1171
|
-
/** Enable output LowCardinality type as Dictionary Arrow type (default: false) */
|
|
1172
|
-
output_format_arrow_low_cardinality_as_dictionary?: Bool;
|
|
1173
|
-
/** Use Arrow String type instead of Binary for String columns (default: false) */
|
|
1174
|
-
output_format_arrow_string_as_string?: Bool;
|
|
1175
|
-
/** Use ORC String type instead of Binary for String columns (default: false) */
|
|
1176
|
-
output_format_orc_string_as_string?: Bool;
|
|
1177
|
-
/** How to map ClickHouse Enum and CapnProto Enum (default: 'by_values') */
|
|
1178
|
-
format_capn_proto_enum_comparising_mode?: EnumComparingMode;
|
|
1179
|
-
/** Name of the table in MySQL dump from which to read data (default: "") */
|
|
1180
|
-
input_format_mysql_dump_table_name?: string;
|
|
1181
|
-
/** Match columns from table in MySQL dump and columns from ClickHouse table by names (default: true) */
|
|
1182
|
-
input_format_mysql_dump_map_column_names?: Bool;
|
|
1183
|
-
/** The maximum number of rows in one INSERT statement. (default: 65505) */
|
|
1222
|
+
/** When serializing Nullable columns with Google wrappers, serialize default values as empty wrappers. If turned off, default and null values are not serialized */
|
|
1223
|
+
output_format_protobuf_nullables_with_google_wrappers?: Bool;
|
|
1224
|
+
/** Include column names in INSERT query */
|
|
1225
|
+
output_format_sql_insert_include_column_names?: Bool;
|
|
1226
|
+
/** The maximum number of rows in one INSERT statement. */
|
|
1184
1227
|
output_format_sql_insert_max_batch_size?: UInt64;
|
|
1185
|
-
/**
|
|
1228
|
+
/** Quote column names with '`' characters */
|
|
1229
|
+
output_format_sql_insert_quote_names?: Bool;
|
|
1230
|
+
/** The name of table in the output INSERT query */
|
|
1186
1231
|
output_format_sql_insert_table_name?: string;
|
|
1187
|
-
/**
|
|
1188
|
-
output_format_sql_insert_include_column_names?: Bool;
|
|
1189
|
-
/** Use REPLACE statement instead of INSERT (default: false) */
|
|
1232
|
+
/** Use REPLACE statement instead of INSERT */
|
|
1190
1233
|
output_format_sql_insert_use_replace?: Bool;
|
|
1191
|
-
/**
|
|
1192
|
-
|
|
1234
|
+
/** If it is set true, end of line in TSV format will be \\r\\n instead of \\n. */
|
|
1235
|
+
output_format_tsv_crlf_end_of_line?: Bool;
|
|
1236
|
+
/** Write statistics about read rows, bytes, time elapsed in suitable output formats. */
|
|
1237
|
+
output_format_write_statistics?: Bool;
|
|
1238
|
+
/** Process distributed INSERT SELECT query in the same cluster on local tables on every shard; if set to 1 - SELECT is executed on each shard; if set to 2 - SELECT and INSERT are executed on each shard */
|
|
1239
|
+
parallel_distributed_insert_select?: UInt64;
|
|
1240
|
+
/** This is internal setting that should not be used directly and represents an implementation detail of the 'parallel replicas' mode. This setting will be automatically set up by the initiator server for distributed queries to the index of the replica participating in query processing among parallel replicas. */
|
|
1241
|
+
parallel_replica_offset?: UInt64;
|
|
1242
|
+
/** This is internal setting that should not be used directly and represents an implementation detail of the 'parallel replicas' mode. This setting will be automatically set up by the initiator server for distributed queries to the number of parallel replicas participating in query processing. */
|
|
1243
|
+
parallel_replicas_count?: UInt64;
|
|
1244
|
+
/** Custom key assigning work to replicas when parallel replicas are used. */
|
|
1245
|
+
parallel_replicas_custom_key?: string;
|
|
1246
|
+
/** Type of filter to use with custom key for parallel replicas. default - use modulo operation on the custom key, range - use range filter on custom key using all possible values for the value type of custom key. */
|
|
1247
|
+
parallel_replicas_custom_key_filter_type?: ParallelReplicasCustomKeyFilterType;
|
|
1248
|
+
/** If true, ClickHouse will use parallel replicas algorithm also for non-replicated MergeTree tables */
|
|
1249
|
+
parallel_replicas_for_non_replicated_merge_tree?: Bool;
|
|
1250
|
+
/** If the number of marks to read is less than the value of this setting - parallel replicas will be disabled */
|
|
1251
|
+
parallel_replicas_min_number_of_granules_to_enable?: UInt64;
|
|
1252
|
+
/** A multiplier which will be added during calculation for minimal number of marks to retrieve from coordinator. This will be applied only for remote replicas. */
|
|
1253
|
+
parallel_replicas_single_task_marks_count_multiplier?: Float;
|
|
1254
|
+
/** Enables pushing to attached views concurrently instead of sequentially. */
|
|
1255
|
+
parallel_view_processing?: Bool;
|
|
1256
|
+
/** Parallelize output for reading step from storage. It allows parallelizing query processing right after reading from storage if possible */
|
|
1257
|
+
parallelize_output_from_storages?: Bool;
|
|
1258
|
+
/** If not 0 group left table blocks in bigger ones for left-side table in partial merge join. It uses up to 2x of specified memory per joining thread. */
|
|
1259
|
+
partial_merge_join_left_table_buffer_bytes?: UInt64;
|
|
1260
|
+
/** Split right-hand joining data in blocks of specified size. It's a portion of data indexed by min-max values and possibly unloaded on disk. */
|
|
1261
|
+
partial_merge_join_rows_in_right_blocks?: UInt64;
|
|
1262
|
+
/** Allows query to return a partial result after cancel. */
|
|
1263
|
+
partial_result_on_first_cancel?: Bool;
|
|
1264
|
+
/** If the destination table contains at least that many active parts in a single partition, artificially slow down insert into table. */
|
|
1265
|
+
parts_to_delay_insert?: UInt64;
|
|
1266
|
+
/** If more than this number active parts in a single partition of the destination table, throw 'Too many parts ...' exception. */
|
|
1267
|
+
parts_to_throw_insert?: UInt64;
|
|
1268
|
+
/** Interval after which periodically refreshed live view is forced to refresh. */
|
|
1269
|
+
periodic_live_view_refresh?: Seconds;
|
|
1270
|
+
/** Block at the query wait loop on the server for the specified number of seconds. */
|
|
1271
|
+
poll_interval?: UInt64;
|
|
1272
|
+
/** Close connection before returning connection to the pool. */
|
|
1273
|
+
postgresql_connection_pool_auto_close_connection?: Bool;
|
|
1274
|
+
/** Connection pool size for PostgreSQL table engine and database engine. */
|
|
1275
|
+
postgresql_connection_pool_size?: UInt64;
|
|
1276
|
+
/** Connection pool push/pop timeout on empty pool for PostgreSQL table engine and database engine. By default it will block on empty pool. */
|
|
1277
|
+
postgresql_connection_pool_wait_timeout?: UInt64;
|
|
1278
|
+
/** Prefer using column names instead of aliases if possible. */
|
|
1279
|
+
prefer_column_name_to_alias?: Bool;
|
|
1280
|
+
/** If enabled, all IN/JOIN operators will be rewritten as GLOBAL IN/JOIN. It's useful when the to-be-joined tables are only available on the initiator and we need to always scatter their data on-the-fly during distributed processing with the GLOBAL keyword. It's also useful to reduce the need to access the external sources joining external tables. */
|
|
1281
|
+
prefer_global_in_and_join?: Bool;
|
|
1282
|
+
/** If it's true then queries will be always sent to local replica (if it exists). If it's false then replica to send a query will be chosen between local and remote ones according to load_balancing */
|
|
1283
|
+
prefer_localhost_replica?: Bool;
|
|
1284
|
+
/** This setting adjusts the data block size for query processing and represents additional fine tune to the more rough 'max_block_size' setting. If the columns are large and with 'max_block_size' rows the block size is likely to be larger than the specified amount of bytes, its size will be lowered for better CPU cache locality. */
|
|
1285
|
+
preferred_block_size_bytes?: UInt64;
|
|
1286
|
+
/** Limit on max column size in block while reading. Helps to decrease cache misses count. Should be close to L2 cache size. */
|
|
1287
|
+
preferred_max_column_in_block_size_bytes?: UInt64;
|
|
1288
|
+
/** The maximum size of the prefetch buffer to read from the filesystem. */
|
|
1289
|
+
prefetch_buffer_size?: UInt64;
|
|
1290
|
+
/** Priority of the query. 1 - the highest, higher value - lower priority; 0 - do not use priorities. */
|
|
1291
|
+
priority?: UInt64;
|
|
1292
|
+
/** Compress cache entries. */
|
|
1293
|
+
query_cache_compress_entries?: Bool;
|
|
1294
|
+
/** The maximum number of query results the current user may store in the query cache. 0 means unlimited. */
|
|
1295
|
+
query_cache_max_entries?: UInt64;
|
|
1296
|
+
/** The maximum amount of memory (in bytes) the current user may allocate in the query cache. 0 means unlimited. */
|
|
1297
|
+
query_cache_max_size_in_bytes?: UInt64;
|
|
1298
|
+
/** Minimum time in milliseconds for a query to run for its result to be stored in the query cache. */
|
|
1299
|
+
query_cache_min_query_duration?: Milliseconds;
|
|
1300
|
+
/** Minimum number a SELECT query must run before its result is stored in the query cache */
|
|
1301
|
+
query_cache_min_query_runs?: UInt64;
|
|
1302
|
+
/** Allow other users to read entry in the query cache */
|
|
1303
|
+
query_cache_share_between_users?: Bool;
|
|
1304
|
+
/** Squash partial result blocks to blocks of size 'max_block_size'. Reduces performance of inserts into the query cache but improves the compressability of cache entries. */
|
|
1305
|
+
query_cache_squash_partial_results?: Bool;
|
|
1306
|
+
/** Store results of queries with non-deterministic functions (e.g. rand(), now()) in the query cache */
|
|
1307
|
+
query_cache_store_results_of_queries_with_nondeterministic_functions?: Bool;
|
|
1308
|
+
/** After this time in seconds entries in the query cache become stale */
|
|
1309
|
+
query_cache_ttl?: Seconds;
|
|
1310
|
+
/** Use query plan for aggregation-in-order optimisation */
|
|
1311
|
+
query_plan_aggregation_in_order?: Bool;
|
|
1312
|
+
/** Apply optimizations to query plan */
|
|
1313
|
+
query_plan_enable_optimizations?: Bool;
|
|
1314
|
+
/** Allow to push down filter by predicate query plan step */
|
|
1315
|
+
query_plan_filter_push_down?: Bool;
|
|
1316
|
+
/** Limit the total number of optimizations applied to query plan. If zero, ignored. If limit reached, throw exception */
|
|
1317
|
+
query_plan_max_optimizations_to_apply?: UInt64;
|
|
1318
|
+
/** Analyze primary key using query plan (instead of AST) */
|
|
1319
|
+
query_plan_optimize_primary_key?: Bool;
|
|
1320
|
+
/** Use query plan for aggregation-in-order optimisation */
|
|
1321
|
+
query_plan_optimize_projection?: Bool;
|
|
1322
|
+
/** Use query plan for read-in-order optimisation */
|
|
1323
|
+
query_plan_read_in_order?: Bool;
|
|
1324
|
+
/** Remove redundant Distinct step in query plan */
|
|
1325
|
+
query_plan_remove_redundant_distinct?: Bool;
|
|
1326
|
+
/** Remove redundant sorting in query plan. For example, sorting steps related to ORDER BY clauses in subqueries */
|
|
1327
|
+
query_plan_remove_redundant_sorting?: Bool;
|
|
1328
|
+
/** Period for CPU clock timer of query profiler (in nanoseconds). Set 0 value to turn off the CPU clock query profiler. Recommended value is at least 10000000 (100 times a second) for single queries or 1000000000 (once a second) for cluster-wide profiling. */
|
|
1329
|
+
query_profiler_cpu_time_period_ns?: UInt64;
|
|
1330
|
+
/** Period for real clock timer of query profiler (in nanoseconds). Set 0 value to turn off the real clock query profiler. Recommended value is at least 10000000 (100 times a second) for single queries or 1000000000 (once a second) for cluster-wide profiling. */
|
|
1331
|
+
query_profiler_real_time_period_ns?: UInt64;
|
|
1332
|
+
/** The wait time in the request queue, if the number of concurrent requests exceeds the maximum. */
|
|
1333
|
+
queue_max_wait_ms?: Milliseconds;
|
|
1334
|
+
/** The wait time for reading from RabbitMQ before retry. */
|
|
1335
|
+
rabbitmq_max_wait_ms?: Milliseconds;
|
|
1336
|
+
/** Settings to reduce the number of threads in case of slow reads. Count events when the read bandwidth is less than that many bytes per second. */
|
|
1337
|
+
read_backoff_max_throughput?: UInt64;
|
|
1338
|
+
/** Settings to try keeping the minimal number of threads in case of slow reads. */
|
|
1339
|
+
read_backoff_min_concurrency?: UInt64;
|
|
1340
|
+
/** Settings to reduce the number of threads in case of slow reads. The number of events after which the number of threads will be reduced. */
|
|
1341
|
+
read_backoff_min_events?: UInt64;
|
|
1342
|
+
/** Settings to reduce the number of threads in case of slow reads. Do not pay attention to the event, if the previous one has passed less than a certain amount of time. */
|
|
1343
|
+
read_backoff_min_interval_between_events_ms?: Milliseconds;
|
|
1344
|
+
/** Setting to reduce the number of threads in case of slow reads. Pay attention only to reads that took at least that much time. */
|
|
1345
|
+
read_backoff_min_latency_ms?: Milliseconds;
|
|
1346
|
+
/** Allow to use the filesystem cache in passive mode - benefit from the existing cache entries, but don't put more entries into the cache. If you set this setting for heavy ad-hoc queries and leave it disabled for short real-time queries, this will allows to avoid cache threshing by too heavy queries and to improve the overall system efficiency. */
|
|
1347
|
+
read_from_filesystem_cache_if_exists_otherwise_bypass_cache?: Bool;
|
|
1348
|
+
/** Minimal number of parts to read to run preliminary merge step during multithread reading in order of primary key. */
|
|
1349
|
+
read_in_order_two_level_merge_threshold?: UInt64;
|
|
1350
|
+
/** What to do when the limit is exceeded. */
|
|
1351
|
+
read_overflow_mode?: OverflowMode;
|
|
1352
|
+
/** What to do when the leaf limit is exceeded. */
|
|
1353
|
+
read_overflow_mode_leaf?: OverflowMode;
|
|
1354
|
+
/** Priority to read data from local filesystem or remote filesystem. Only supported for 'pread_threadpool' method for local filesystem and for `threadpool` method for remote filesystem. */
|
|
1355
|
+
read_priority?: Int64;
|
|
1356
|
+
/** 0 - no read-only restrictions. 1 - only read requests, as well as changing explicitly allowed settings. 2 - only read requests, as well as changing settings, except for the 'readonly' setting. */
|
|
1357
|
+
readonly?: UInt64;
|
|
1358
|
+
/** Connection timeout for receiving first packet of data or packet with positive progress from replica */
|
|
1359
|
+
receive_data_timeout_ms?: Milliseconds;
|
|
1360
|
+
/** Timeout for receiving data from network, in seconds. If no bytes were received in this interval, exception is thrown. If you set this setting on client, the 'send_timeout' for the socket will be also set on the corresponding connection end on the server. */
|
|
1361
|
+
receive_timeout?: Seconds;
|
|
1362
|
+
/** Allow regexp_tree dictionary using Hyperscan library. */
|
|
1363
|
+
regexp_dict_allow_hyperscan?: Bool;
|
|
1364
|
+
/** Max matches of any single regexp per row, used to safeguard 'extractAllGroupsHorizontal' against consuming too much memory with greedy RE. */
|
|
1365
|
+
regexp_max_matches_per_row?: UInt64;
|
|
1366
|
+
/** Reject patterns which will likely be expensive to evaluate with hyperscan (due to NFA state explosion) */
|
|
1367
|
+
reject_expensive_hyperscan_regexps?: Bool;
|
|
1368
|
+
/** If memory usage after remerge does not reduced by this ratio, remerge will be disabled. */
|
|
1369
|
+
remerge_sort_lowered_memory_bytes_ratio?: Float;
|
|
1370
|
+
/** Method of reading data from remote filesystem, one of: read, threadpool. */
|
|
1371
|
+
remote_filesystem_read_method?: string;
|
|
1372
|
+
/** Should use prefetching when reading data from remote filesystem. */
|
|
1373
|
+
remote_filesystem_read_prefetch?: Bool;
|
|
1374
|
+
/** Max attempts to read with backoff */
|
|
1375
|
+
remote_fs_read_backoff_max_tries?: UInt64;
|
|
1376
|
+
/** Max wait time when trying to read data for remote disk */
|
|
1377
|
+
remote_fs_read_max_backoff_ms?: UInt64;
|
|
1378
|
+
/** Min bytes required for remote read (url, s3) to do seek, instead of read with ignore. */
|
|
1379
|
+
remote_read_min_bytes_for_seek?: UInt64;
|
|
1380
|
+
/** Rename successfully processed files according to the specified pattern; Pattern can include the following placeholders: `%a` (full original file name), `%f` (original filename without extension), `%e` (file extension with dot), `%t` (current timestamp in µs), and `%%` (% sign) */
|
|
1381
|
+
rename_files_after_processing?: string;
|
|
1382
|
+
/** Whether the running request should be canceled with the same id as the new one. */
|
|
1383
|
+
replace_running_query?: Bool;
|
|
1384
|
+
/** The wait time for running query with the same query_id to finish when setting 'replace_running_query' is active. */
|
|
1385
|
+
replace_running_query_max_wait_ms?: Milliseconds;
|
|
1386
|
+
/** Wait for inactive replica to execute ALTER/OPTIMIZE. Time in seconds, 0 - do not wait, negative - wait for unlimited time. */
|
|
1387
|
+
replication_wait_for_inactive_replica_timeout?: Int64;
|
|
1388
|
+
/** What to do when the limit is exceeded. */
|
|
1389
|
+
result_overflow_mode?: OverflowMode;
|
|
1390
|
+
/** Use multiple threads for s3 multipart upload. It may lead to slightly higher memory usage */
|
|
1391
|
+
s3_allow_parallel_part_upload?: Bool;
|
|
1392
|
+
/** Check each uploaded object to s3 with head request to be sure that upload was successful */
|
|
1393
|
+
s3_check_objects_after_upload?: Bool;
|
|
1394
|
+
/** Enables or disables creating a new file on each insert in s3 engine tables */
|
|
1395
|
+
s3_create_new_file_on_insert?: Bool;
|
|
1396
|
+
/** Maximum number of files that could be returned in batch by ListObject request */
|
|
1397
|
+
s3_list_object_keys_size?: UInt64;
|
|
1398
|
+
/** The maximum number of connections per server. */
|
|
1399
|
+
s3_max_connections?: UInt64;
|
|
1400
|
+
/** Max number of requests that can be issued simultaneously before hitting request per second limit. By default (0) equals to `s3_max_get_rps` */
|
|
1401
|
+
s3_max_get_burst?: UInt64;
|
|
1402
|
+
/** Limit on S3 GET request per second rate before throttling. Zero means unlimited. */
|
|
1403
|
+
s3_max_get_rps?: UInt64;
|
|
1404
|
+
/** The maximum number of a concurrent loaded parts in multipart upload request. 0 means unlimited. You */
|
|
1405
|
+
s3_max_inflight_parts_for_one_file?: UInt64;
|
|
1406
|
+
/** Max number of requests that can be issued simultaneously before hitting request per second limit. By default (0) equals to `s3_max_put_rps` */
|
|
1407
|
+
s3_max_put_burst?: UInt64;
|
|
1408
|
+
/** Limit on S3 PUT request per second rate before throttling. Zero means unlimited. */
|
|
1409
|
+
s3_max_put_rps?: UInt64;
|
|
1410
|
+
/** Max number of S3 redirects hops allowed. */
|
|
1411
|
+
s3_max_redirects?: UInt64;
|
|
1412
|
+
/** The maximum size of object to upload using singlepart upload to S3. */
|
|
1413
|
+
s3_max_single_part_upload_size?: UInt64;
|
|
1414
|
+
/** The maximum number of retries during single S3 read. */
|
|
1415
|
+
s3_max_single_read_retries?: UInt64;
|
|
1416
|
+
/** The maximum number of retries in case of unexpected errors during S3 write. */
|
|
1417
|
+
s3_max_unexpected_write_error_retries?: UInt64;
|
|
1418
|
+
/** The maximum size of part to upload during multipart upload to S3. */
|
|
1419
|
+
s3_max_upload_part_size?: UInt64;
|
|
1420
|
+
/** The minimum size of part to upload during multipart upload to S3. */
|
|
1421
|
+
s3_min_upload_part_size?: UInt64;
|
|
1422
|
+
/** Idleness timeout for sending and receiving data to/from S3. Fail if a single TCP read or write call blocks for this long. */
|
|
1423
|
+
s3_request_timeout_ms?: UInt64;
|
|
1424
|
+
/** Setting for Aws::Client::RetryStrategy, Aws::Client does retries itself, 0 means no retries */
|
|
1425
|
+
s3_retry_attempts?: UInt64;
|
|
1426
|
+
/** Allow to skip empty files in s3 table engine */
|
|
1427
|
+
s3_skip_empty_files?: Bool;
|
|
1428
|
+
/** The exact size of part to upload during multipart upload to S3 (some implementations does not supports variable size parts). */
|
|
1429
|
+
s3_strict_upload_part_size?: UInt64;
|
|
1430
|
+
/** Throw an error, when ListObjects request cannot match any files */
|
|
1431
|
+
s3_throw_on_zero_files_match?: Bool;
|
|
1432
|
+
/** Enables or disables truncate before insert in s3 engine tables. */
|
|
1433
|
+
s3_truncate_on_insert?: Bool;
|
|
1434
|
+
/** Multiply s3_min_upload_part_size by this factor each time s3_multiply_parts_count_threshold parts were uploaded from a single write to S3. */
|
|
1435
|
+
s3_upload_part_size_multiply_factor?: UInt64;
|
|
1436
|
+
/** Each time this number of parts was uploaded to S3 s3_min_upload_part_size multiplied by s3_upload_part_size_multiply_factor. */
|
|
1437
|
+
s3_upload_part_size_multiply_parts_count_threshold?: UInt64;
|
|
1438
|
+
/** Use schema from cache for URL with last modification time validation (for urls with Last-Modified header) */
|
|
1439
|
+
schema_inference_cache_require_modification_time_for_url?: Bool;
|
|
1440
|
+
/** The list of column names and types to use in schema inference for formats without column names. The format: 'column_name1 column_type1, column_name2 column_type2, ...' */
|
|
1441
|
+
schema_inference_hints?: string;
|
|
1442
|
+
/** If set to true, all inferred types will be Nullable in schema inference for formats without information about nullability. */
|
|
1443
|
+
schema_inference_make_columns_nullable?: Bool;
|
|
1444
|
+
/** Use cache in schema inference while using azure table function */
|
|
1445
|
+
schema_inference_use_cache_for_azure?: Bool;
|
|
1446
|
+
/** Use cache in schema inference while using file table function */
|
|
1447
|
+
schema_inference_use_cache_for_file?: Bool;
|
|
1448
|
+
/** Use cache in schema inference while using hdfs table function */
|
|
1449
|
+
schema_inference_use_cache_for_hdfs?: Bool;
|
|
1450
|
+
/** Use cache in schema inference while using s3 table function */
|
|
1451
|
+
schema_inference_use_cache_for_s3?: Bool;
|
|
1452
|
+
/** Use cache in schema inference while using url table function */
|
|
1453
|
+
schema_inference_use_cache_for_url?: Bool;
|
|
1454
|
+
/** For SELECT queries from the replicated table, throw an exception if the replica does not have a chunk written with the quorum; do not read the parts that have not yet been written with the quorum. */
|
|
1455
|
+
select_sequential_consistency?: UInt64;
|
|
1456
|
+
/** Send server text logs with specified minimum level to client. Valid values: 'trace', 'debug', 'information', 'warning', 'error', 'fatal', 'none' */
|
|
1457
|
+
send_logs_level?: LogsLevel;
|
|
1458
|
+
/** Send server text logs with specified regexp to match log source name. Empty means all sources. */
|
|
1459
|
+
send_logs_source_regexp?: string;
|
|
1460
|
+
/** Send progress notifications using X-ClickHouse-Progress headers. Some clients do not support high amount of HTTP headers (Python requests in particular), so it is disabled by default. */
|
|
1461
|
+
send_progress_in_http_headers?: Bool;
|
|
1462
|
+
/** Timeout for sending data to network, in seconds. If client needs to sent some data, but it did not able to send any bytes in this interval, exception is thrown. If you set this setting on client, the 'receive_timeout' for the socket will be also set on the corresponding connection end on the server. */
|
|
1463
|
+
send_timeout?: Seconds;
|
|
1464
|
+
/** This setting can be removed in the future due to potential caveats. It is experimental and is not suitable for production usage. The default timezone for current session or query. The server default timezone if empty. */
|
|
1465
|
+
session_timezone?: string;
|
|
1466
|
+
/** What to do when the limit is exceeded. */
|
|
1467
|
+
set_overflow_mode?: OverflowMode;
|
|
1468
|
+
/** Setting for short-circuit function evaluation configuration. Possible values: 'enable' - use short-circuit function evaluation for functions that are suitable for it, 'disable' - disable short-circuit function evaluation, 'force_enable' - use short-circuit function evaluation for all functions. */
|
|
1469
|
+
short_circuit_function_evaluation?: ShortCircuitFunctionEvaluation;
|
|
1470
|
+
/** For tables in databases with Engine=Atomic show UUID of the table in its CREATE query. */
|
|
1471
|
+
show_table_uuid_in_table_create_query_if_not_nil?: Bool;
|
|
1472
|
+
/** For single JOIN in case of identifier ambiguity prefer left table */
|
|
1473
|
+
single_join_prefer_left_table?: Bool;
|
|
1474
|
+
/** Skip download from remote filesystem if exceeds query cache size */
|
|
1475
|
+
skip_download_if_exceeds_query_cache?: Bool;
|
|
1476
|
+
/** If true, ClickHouse silently skips unavailable shards and nodes unresolvable through DNS. Shard is marked as unavailable when none of the replicas can be reached. */
|
|
1477
|
+
skip_unavailable_shards?: Bool;
|
|
1478
|
+
/** Time to sleep after receiving query in TCPHandler */
|
|
1479
|
+
sleep_after_receiving_query_ms?: Milliseconds;
|
|
1480
|
+
/** Time to sleep in sending data in TCPHandler */
|
|
1481
|
+
sleep_in_send_data_ms?: Milliseconds;
|
|
1482
|
+
/** Time to sleep in sending tables status response in TCPHandler */
|
|
1483
|
+
sleep_in_send_tables_status_ms?: Milliseconds;
|
|
1484
|
+
/** What to do when the limit is exceeded. */
|
|
1485
|
+
sort_overflow_mode?: OverflowMode;
|
|
1486
|
+
/** Method of reading data from storage file, one of: read, pread, mmap. The mmap method does not apply to clickhouse-server (it's intended for clickhouse-local). */
|
|
1487
|
+
storage_file_read_method?: LocalFSReadMethod;
|
|
1488
|
+
/** Maximum time to read from a pipe for receiving information from the threads when querying the `system.stack_trace` table. This setting is used for testing purposes and not meant to be changed by users. */
|
|
1489
|
+
storage_system_stack_trace_pipe_read_timeout_ms?: Milliseconds;
|
|
1490
|
+
/** Timeout for flushing data from streaming storages. */
|
|
1491
|
+
stream_flush_interval_ms?: Milliseconds;
|
|
1492
|
+
/** Allow direct SELECT query for Kafka, RabbitMQ, FileLog, Redis Streams and NATS engines. In case there are attached materialized views, SELECT query is not allowed even if this setting is enabled. */
|
|
1493
|
+
stream_like_engine_allow_direct_select?: Bool;
|
|
1494
|
+
/** When stream like engine reads from multiple queues, user will need to select one queue to insert into when writing. Used by Redis Streams and NATS. */
|
|
1495
|
+
stream_like_engine_insert_queue?: string;
|
|
1496
|
+
/** Timeout for polling data from/to streaming storages. */
|
|
1497
|
+
stream_poll_timeout_ms?: Milliseconds;
|
|
1498
|
+
/** When querying system.events or system.metrics tables, include all metrics, even with zero values. */
|
|
1499
|
+
system_events_show_zero_values?: Bool;
|
|
1500
|
+
/** The maximum number of different shards and the maximum number of replicas of one shard in the `remote` function. */
|
|
1501
|
+
table_function_remote_max_addresses?: UInt64;
|
|
1502
|
+
/** The time in seconds the connection needs to remain idle before TCP starts sending keepalive probes */
|
|
1503
|
+
tcp_keep_alive_timeout?: Seconds;
|
|
1504
|
+
/** Set compression codec for temporary files (sort and join on disk). I.e. LZ4, NONE. */
|
|
1505
|
+
temporary_files_codec?: string;
|
|
1506
|
+
/** Enables or disables empty INSERTs, enabled by default */
|
|
1507
|
+
throw_if_no_data_to_insert?: Bool;
|
|
1508
|
+
/** Ignore error from cache when caching on write operations (INSERT, merges) */
|
|
1509
|
+
throw_on_error_from_cache_on_write_operations?: Bool;
|
|
1510
|
+
/** Throw exception if unsupported query is used inside transaction */
|
|
1511
|
+
throw_on_unsupported_query_inside_transaction?: Bool;
|
|
1512
|
+
/** Check that the speed is not too low after the specified time has elapsed. */
|
|
1513
|
+
timeout_before_checking_execution_speed?: Seconds;
|
|
1514
|
+
/** What to do when the limit is exceeded. */
|
|
1515
|
+
timeout_overflow_mode?: OverflowMode;
|
|
1516
|
+
/** The threshold for totals_mode = 'auto'. */
|
|
1517
|
+
totals_auto_threshold?: Float;
|
|
1518
|
+
/** How to calculate TOTALS when HAVING is present, as well as when max_rows_to_group_by and group_by_overflow_mode = ‘any’ are present. */
|
|
1519
|
+
totals_mode?: TotalsMode;
|
|
1520
|
+
/** Send to system.trace_log profile event and value of increment on each increment with 'ProfileEvent' trace_type */
|
|
1521
|
+
trace_profile_events?: Bool;
|
|
1522
|
+
/** What to do when the limit is exceeded. */
|
|
1523
|
+
transfer_overflow_mode?: OverflowMode;
|
|
1524
|
+
/** If enabled, NULL values will be matched with 'IN' operator as if they are considered equal. */
|
|
1525
|
+
transform_null_in?: Bool;
|
|
1526
|
+
/** Set default mode in UNION query. Possible values: empty string, 'ALL', 'DISTINCT'. If empty, query without mode will throw exception. */
|
|
1527
|
+
union_default_mode?: SetOperationMode;
|
|
1528
|
+
/** Send unknown packet instead of data Nth data packet */
|
|
1529
|
+
unknown_packet_in_send_data?: UInt64;
|
|
1530
|
+
/** Use client timezone for interpreting DateTime string values, instead of adopting server timezone. */
|
|
1531
|
+
use_client_time_zone?: Bool;
|
|
1532
|
+
/** Changes format of directories names for distributed table insert parts. */
|
|
1533
|
+
use_compact_format_in_distributed_parts_names?: Bool;
|
|
1534
|
+
/** Use hedged requests for distributed queries */
|
|
1535
|
+
use_hedged_requests?: Bool;
|
|
1536
|
+
/** Try using an index if there is a subquery or a table expression on the right side of the IN operator. */
|
|
1537
|
+
use_index_for_in_with_subqueries?: Bool;
|
|
1538
|
+
/** The maximum size of set on the right hand side of the IN operator to use table index for filtering. It allows to avoid performance degradation and higher memory usage due to preparation of additional data structures for large queries. Zero means no limit. */
|
|
1539
|
+
use_index_for_in_with_subqueries_max_values?: UInt64;
|
|
1540
|
+
/** Use local cache for remote storage like HDFS or S3, it's used for remote table engine only */
|
|
1541
|
+
use_local_cache_for_remote_storage?: Bool;
|
|
1542
|
+
/** Use MySQL converted types when connected via MySQL compatibility for show columns query */
|
|
1543
|
+
use_mysql_types_in_show_columns?: Bool;
|
|
1544
|
+
/** Enable the query cache */
|
|
1545
|
+
use_query_cache?: Bool;
|
|
1546
|
+
/** Use data skipping indexes during query execution. */
|
|
1547
|
+
use_skip_indexes?: Bool;
|
|
1548
|
+
/** If query has FINAL, then skipping data based on indexes may produce incorrect result, hence disabled by default. */
|
|
1549
|
+
use_skip_indexes_if_final?: Bool;
|
|
1550
|
+
/** Use structure from insertion table instead of schema inference from data. Possible values: 0 - disabled, 1 - enabled, 2 - auto */
|
|
1551
|
+
use_structure_from_insertion_table_in_table_functions?: UInt64;
|
|
1552
|
+
/** Whether to use the cache of uncompressed blocks. */
|
|
1553
|
+
use_uncompressed_cache?: Bool;
|
|
1554
|
+
/** Columns preceding WITH FILL columns in ORDER BY clause form sorting prefix. Rows with different values in sorting prefix are filled independently */
|
|
1555
|
+
use_with_fill_by_sorting_prefix?: Bool;
|
|
1556
|
+
/** Throw exception if polygon is invalid in function pointInPolygon (e.g. self-tangent, self-intersecting). If the setting is false, the function will accept invalid polygons but may silently return wrong result. */
|
|
1557
|
+
validate_polygons?: Bool;
|
|
1558
|
+
/** Wait for committed changes to become actually visible in the latest snapshot */
|
|
1559
|
+
wait_changes_become_visible_after_commit_mode?: TransactionsWaitCSNMode;
|
|
1560
|
+
/** If true wait for processing of asynchronous insertion */
|
|
1561
|
+
wait_for_async_insert?: Bool;
|
|
1562
|
+
/** Timeout for waiting for processing asynchronous insertion */
|
|
1563
|
+
wait_for_async_insert_timeout?: Seconds;
|
|
1564
|
+
/** Timeout for waiting for window view fire signal in event time processing */
|
|
1565
|
+
wait_for_window_view_fire_signal_timeout?: Seconds;
|
|
1566
|
+
/** The clean interval of window view in seconds to free outdated data. */
|
|
1567
|
+
window_view_clean_interval?: Seconds;
|
|
1568
|
+
/** The heartbeat interval in seconds to indicate watch query is alive. */
|
|
1569
|
+
window_view_heartbeat_interval?: Seconds;
|
|
1570
|
+
/** Name of workload to be used to access resources */
|
|
1571
|
+
workload?: string;
|
|
1572
|
+
/** Allows you to select the max window log of ZSTD (it will not be used for MergeTree family) */
|
|
1573
|
+
zstd_window_log_max?: Int64;
|
|
1193
1574
|
}
|
|
1194
1575
|
interface ClickHouseHTTPSettings {
|
|
1195
|
-
wait_end_of_query
|
|
1576
|
+
wait_end_of_query: Bool;
|
|
1196
1577
|
}
|
|
1197
|
-
export type ClickHouseSettings = ClickHouseServerSettings & ClickHouseHTTPSettings
|
|
1578
|
+
export type ClickHouseSettings = Partial<ClickHouseServerSettings> & Partial<ClickHouseHTTPSettings>;
|
|
1198
1579
|
export interface MergeTreeSettings {
|
|
1199
|
-
/**
|
|
1200
|
-
|
|
1201
|
-
/**
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
|
|
1211
|
-
/**
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1580
|
+
/** Allow floating point as partition key */
|
|
1581
|
+
allow_floating_point_partition_key?: Bool;
|
|
1582
|
+
/** Allow Nullable types as primary keys. */
|
|
1583
|
+
allow_nullable_key?: Bool;
|
|
1584
|
+
/** Don't use this setting in production, because it is not ready. */
|
|
1585
|
+
allow_remote_fs_zero_copy_replication?: Bool;
|
|
1586
|
+
/** Reject primary/secondary indexes and sorting keys with identical expressions */
|
|
1587
|
+
allow_suspicious_indices?: Bool;
|
|
1588
|
+
/** Allows vertical merges from compact to wide parts. This settings must have the same value on all replicas */
|
|
1589
|
+
allow_vertical_merges_from_compact_to_wide_parts?: Bool;
|
|
1590
|
+
/** If true, replica never merge parts and always download merged parts from other replicas. */
|
|
1591
|
+
always_fetch_merged_part?: Bool;
|
|
1592
|
+
/** Generate UUIDs for parts. Before enabling check that all replicas support new format. */
|
|
1593
|
+
assign_part_uuids?: Bool;
|
|
1594
|
+
/** minimum interval between updates of async_block_ids_cache */
|
|
1595
|
+
async_block_ids_cache_min_update_interval_ms?: Milliseconds;
|
|
1596
|
+
/** If true, data from INSERT query is stored in queue and later flushed to table in background. */
|
|
1597
|
+
async_insert?: Bool;
|
|
1598
|
+
/** Obsolete setting, does nothing. */
|
|
1599
|
+
check_delay_period?: UInt64;
|
|
1600
|
+
/** Check columns or columns by hash for sampling are unsigned integer. */
|
|
1601
|
+
check_sample_column_is_correct?: Bool;
|
|
1602
|
+
/** Is the Replicated Merge cleanup has to be done automatically at each merge or manually (possible values are 'Always'/'Never' (default)) */
|
|
1603
|
+
clean_deleted_rows?: 'Always' | 'Never';
|
|
1604
|
+
/** Minimum period to clean old queue logs, blocks hashes and parts. */
|
|
1605
|
+
cleanup_delay_period?: UInt64;
|
|
1606
|
+
/** Add uniformly distributed value from 0 to x seconds to cleanup_delay_period to avoid thundering herd effect and subsequent DoS of ZooKeeper in case of very large number of tables. */
|
|
1607
|
+
cleanup_delay_period_random_add?: UInt64;
|
|
1608
|
+
/** Preferred batch size for background cleanup (points are abstract but 1 point is approximately equivalent to 1 inserted block). */
|
|
1609
|
+
cleanup_thread_preferred_points_per_iteration?: UInt64;
|
|
1610
|
+
/** Allow to create a table with sampling expression not in primary key. This is needed only to temporarily allow to run the server with wrong tables for backward compatibility. */
|
|
1611
|
+
compatibility_allow_sampling_expression_not_in_primary_key?: Bool;
|
|
1612
|
+
/** Marks support compression, reduce mark file size and speed up network transmission. */
|
|
1613
|
+
compress_marks?: Bool;
|
|
1614
|
+
/** Primary key support compression, reduce primary key file size and speed up network transmission. */
|
|
1615
|
+
compress_primary_key?: Bool;
|
|
1616
|
+
/** Activate concurrent part removal (see 'max_part_removal_threads') only if the number of inactive data parts is at least this. */
|
|
1617
|
+
concurrent_part_removal_threshold?: UInt64;
|
|
1618
|
+
/** Do not remove non byte-identical parts for ReplicatedMergeTree, instead detach them (maybe useful for further analysis). */
|
|
1619
|
+
detach_not_byte_identical_parts?: Bool;
|
|
1620
|
+
/** Do not remove old local parts when repairing lost replica. */
|
|
1621
|
+
detach_old_local_parts_when_cloning_replica?: Bool;
|
|
1622
|
+
/** Name of storage disk. Can be specified instead of storage policy. */
|
|
1623
|
+
disk?: string;
|
|
1624
|
+
/** Enable parts with adaptive and non-adaptive granularity */
|
|
1625
|
+
enable_mixed_granularity_parts?: Bool;
|
|
1626
|
+
/** Enable the endpoint id with zookeeper name prefix for the replicated merge tree table */
|
|
1627
|
+
enable_the_endpoint_id_with_zookeeper_name_prefix?: Bool;
|
|
1628
|
+
/** Enable usage of Vertical merge algorithm. */
|
|
1629
|
+
enable_vertical_merge_algorithm?: UInt64;
|
|
1630
|
+
/** When greater than zero only a single replica starts the merge immediately, others wait up to that amount of time to download the result instead of doing merges locally. If the chosen replica doesn't finish the merge during that amount of time, fallback to standard behavior happens. */
|
|
1631
|
+
execute_merges_on_single_replica_time_threshold?: Seconds;
|
|
1632
|
+
/** How many records about mutations that are done to keep. If zero, then keep all of them. */
|
|
1633
|
+
finished_mutations_to_keep?: UInt64;
|
|
1634
|
+
/** Do fsync for every inserted part. Significantly decreases performance of inserts, not recommended to use with wide parts. */
|
|
1635
|
+
fsync_after_insert?: Bool;
|
|
1636
|
+
/** Do fsync for part directory after all part operations (writes, renames, etc.). */
|
|
1637
|
+
fsync_part_directory?: Bool;
|
|
1638
|
+
/** Obsolete setting, does nothing. */
|
|
1214
1639
|
in_memory_parts_enable_wal?: Bool;
|
|
1215
|
-
/**
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
|
|
1221
|
-
/**
|
|
1640
|
+
/** Obsolete setting, does nothing. */
|
|
1641
|
+
in_memory_parts_insert_sync?: Bool;
|
|
1642
|
+
/** If table contains at least that many inactive parts in single partition, artificially slow down insert into table. */
|
|
1643
|
+
inactive_parts_to_delay_insert?: UInt64;
|
|
1644
|
+
/** If more than this number inactive parts in single partition, throw 'Too many inactive parts ...' exception. */
|
|
1645
|
+
inactive_parts_to_throw_insert?: UInt64;
|
|
1646
|
+
/** How many rows correspond to one primary key value. */
|
|
1647
|
+
index_granularity?: UInt64;
|
|
1648
|
+
/** Approximate amount of bytes in single granule (0 - disabled). */
|
|
1649
|
+
index_granularity_bytes?: UInt64;
|
|
1650
|
+
/** Retry period for table initialization, in seconds. */
|
|
1651
|
+
initialization_retry_period?: Seconds;
|
|
1652
|
+
/** For background operations like merges, mutations etc. How many seconds before failing to acquire table locks. */
|
|
1653
|
+
lock_acquire_timeout_for_background_operations?: Seconds;
|
|
1654
|
+
/** Mark compress block size, the actual size of the block to compress. */
|
|
1655
|
+
marks_compress_block_size?: UInt64;
|
|
1656
|
+
/** Compression encoding used by marks, marks are small enough and cached, so the default compression is ZSTD(3). */
|
|
1657
|
+
marks_compression_codec?: string;
|
|
1658
|
+
/** Only recalculate ttl info when MATERIALIZE TTL */
|
|
1659
|
+
materialize_ttl_recalculate_only?: Bool;
|
|
1660
|
+
/** The 'too many parts' check according to 'parts_to_delay_insert' and 'parts_to_throw_insert' will be active only if the average part size (in the relevant partition) is not larger than the specified threshold. If it is larger than the specified threshold, the INSERTs will be neither delayed or rejected. This allows to have hundreds of terabytes in a single table on a single server if the parts are successfully merged to larger parts. This does not affect the thresholds on inactive parts or total parts. */
|
|
1661
|
+
max_avg_part_size_for_too_many_parts?: UInt64;
|
|
1662
|
+
/** Maximum in total size of parts to merge, when there are maximum free threads in background pool (or entries in replication queue). */
|
|
1222
1663
|
max_bytes_to_merge_at_max_space_in_pool?: UInt64;
|
|
1223
|
-
/** Maximum in total size of parts to merge (
|
|
1664
|
+
/** Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries in replication queue). */
|
|
1224
1665
|
max_bytes_to_merge_at_min_space_in_pool?: UInt64;
|
|
1225
|
-
/**
|
|
1226
|
-
|
|
1227
|
-
/**
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
|
|
1231
|
-
/**
|
|
1232
|
-
|
|
1233
|
-
/**
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1666
|
+
/** Maximum period to clean old queue logs, blocks hashes and parts. */
|
|
1667
|
+
max_cleanup_delay_period?: UInt64;
|
|
1668
|
+
/** Compress the pending uncompressed data in buffer if its size is larger or equal than the specified threshold. Block of data will be compressed even if the current granule is not finished. If this setting is not set, the corresponding global setting is used. */
|
|
1669
|
+
max_compress_block_size?: UInt64;
|
|
1670
|
+
/** Max number of concurrently executed queries related to the MergeTree table (0 - disabled). Queries will still be limited by other max_concurrent_queries settings. */
|
|
1671
|
+
max_concurrent_queries?: UInt64;
|
|
1672
|
+
/** Max delay of inserting data into MergeTree table in seconds, if there are a lot of unmerged parts in single partition. */
|
|
1673
|
+
max_delay_to_insert?: UInt64;
|
|
1674
|
+
/** Max delay of mutating MergeTree table in milliseconds, if there are a lot of unfinished mutations */
|
|
1675
|
+
max_delay_to_mutate_ms?: UInt64;
|
|
1676
|
+
/** Max number of bytes to digest per segment to build GIN index. */
|
|
1677
|
+
max_digestion_size_per_segment?: UInt64;
|
|
1678
|
+
/** Not apply ALTER if number of files for modification(deletion, addition) more than this. */
|
|
1679
|
+
max_files_to_modify_in_alter_columns?: UInt64;
|
|
1680
|
+
/** Not apply ALTER, if number of files for deletion more than this. */
|
|
1681
|
+
max_files_to_remove_in_alter_columns?: UInt64;
|
|
1682
|
+
/** Maximum sleep time for merge selecting, a lower setting will trigger selecting tasks in background_schedule_pool frequently which result in large amount of requests to zookeeper in large-scale clusters */
|
|
1683
|
+
max_merge_selecting_sleep_ms?: UInt64;
|
|
1684
|
+
/** When there is more than specified number of merges with TTL entries in pool, do not assign new merge with TTL. This is to leave free threads for regular merges and avoid \"Too many parts\" */
|
|
1236
1685
|
max_number_of_merges_with_ttl_in_pool?: UInt64;
|
|
1237
|
-
/**
|
|
1238
|
-
|
|
1239
|
-
/**
|
|
1240
|
-
|
|
1241
|
-
/**
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
|
|
1245
|
-
/**
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
min_compressed_bytes_to_fsync_after_fetch?: UInt64;
|
|
1249
|
-
/** Do fsync for every inserted part. Significantly decreases performance of inserts (default: false) */
|
|
1250
|
-
fsync_after_insert?: Bool;
|
|
1251
|
-
/** Do fsync for part directory after all part operations (writes (default: false) */
|
|
1252
|
-
fsync_part_directory?: Bool;
|
|
1253
|
-
/** Amount of bytes (default: 100ULL * 1024 * 1024) */
|
|
1254
|
-
write_ahead_log_bytes_to_fsync?: UInt64;
|
|
1255
|
-
/** Interval in milliseconds after which fsync for WAL is being done. (default: 100) */
|
|
1256
|
-
write_ahead_log_interval_ms_to_fsync?: UInt64;
|
|
1257
|
-
/** If true insert of part with in-memory format will wait for fsync of WAL (default: false) */
|
|
1258
|
-
in_memory_parts_insert_sync?: Bool;
|
|
1259
|
-
/** How many last blocks of hashes should be kept on disk (0 - disabled). (default: 0) */
|
|
1260
|
-
non_replicated_deduplication_window?: UInt64;
|
|
1261
|
-
/** Max amount of parts which can be merged at once (0 - disabled). Doesn't affect OPTIMIZE FINAL query. (default: 100) */
|
|
1686
|
+
/** Limit the number of part mutations per replica to the specified amount. Zero means no limit on the number of mutations per replica (the execution can still be constrained by other settings). */
|
|
1687
|
+
max_number_of_mutations_for_replica?: UInt64;
|
|
1688
|
+
/** Obsolete setting, does nothing. */
|
|
1689
|
+
max_part_loading_threads?: MaxThreads;
|
|
1690
|
+
/** Obsolete setting, does nothing. */
|
|
1691
|
+
max_part_removal_threads?: MaxThreads;
|
|
1692
|
+
/** Limit the max number of partitions that can be accessed in one query. <= 0 means unlimited. This setting is the default that can be overridden by the query-level setting with the same name. */
|
|
1693
|
+
max_partitions_to_read?: Int64;
|
|
1694
|
+
/** If more than this number active parts in all partitions in total, throw 'Too many parts ...' exception. */
|
|
1695
|
+
max_parts_in_total?: UInt64;
|
|
1696
|
+
/** Max amount of parts which can be merged at once (0 - disabled). Doesn't affect OPTIMIZE FINAL query. */
|
|
1262
1697
|
max_parts_to_merge_at_once?: UInt64;
|
|
1263
|
-
/**
|
|
1698
|
+
/** The maximum speed of data exchange over the network in bytes per second for replicated fetches. Zero means unlimited. */
|
|
1699
|
+
max_replicated_fetches_network_bandwidth?: UInt64;
|
|
1700
|
+
/** How many records may be in log, if there is inactive replica. Inactive replica becomes lost when when this number exceed. */
|
|
1701
|
+
max_replicated_logs_to_keep?: UInt64;
|
|
1702
|
+
/** How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue. */
|
|
1703
|
+
max_replicated_merges_in_queue?: UInt64;
|
|
1704
|
+
/** How many tasks of merging parts with TTL are allowed simultaneously in ReplicatedMergeTree queue. */
|
|
1705
|
+
max_replicated_merges_with_ttl_in_queue?: UInt64;
|
|
1706
|
+
/** How many tasks of mutating parts are allowed simultaneously in ReplicatedMergeTree queue. */
|
|
1707
|
+
max_replicated_mutations_in_queue?: UInt64;
|
|
1708
|
+
/** The maximum speed of data exchange over the network in bytes per second for replicated sends. Zero means unlimited. */
|
|
1709
|
+
max_replicated_sends_network_bandwidth?: UInt64;
|
|
1710
|
+
/** Max broken parts, if more - deny automatic deletion. */
|
|
1711
|
+
max_suspicious_broken_parts?: UInt64;
|
|
1712
|
+
/** Max size of all broken parts, if more - deny automatic deletion. */
|
|
1713
|
+
max_suspicious_broken_parts_bytes?: UInt64;
|
|
1714
|
+
/** How many rows in blocks should be formed for merge operations. By default, has the same value as `index_granularity`. */
|
|
1715
|
+
merge_max_block_size?: UInt64;
|
|
1716
|
+
/** How many bytes in blocks should be formed for merge operations. By default, has the same value as `index_granularity_bytes`. */
|
|
1717
|
+
merge_max_block_size_bytes?: UInt64;
|
|
1718
|
+
/** Maximum sleep time for merge selecting, a lower setting will trigger selecting tasks in background_schedule_pool frequently which result in large amount of requests to zookeeper in large-scale clusters */
|
|
1264
1719
|
merge_selecting_sleep_ms?: UInt64;
|
|
1265
|
-
/** The
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
merge_tree_clear_old_parts_interval_seconds?: UInt64;
|
|
1269
|
-
/** Remove old broken detached parts in the background if they remained untouched for a specified by this setting period of time. (default: 1ULL * 3600 * 24 * 30) */
|
|
1720
|
+
/** The sleep time for merge selecting task is multiplied by this factor when there's nothing to merge and divided when a merge was assigned */
|
|
1721
|
+
merge_selecting_sleep_slowdown_factor?: Float;
|
|
1722
|
+
/** Remove old broken detached parts in the background if they remained untouched for a specified by this setting period of time. */
|
|
1270
1723
|
merge_tree_clear_old_broken_detached_parts_ttl_timeout_seconds?: UInt64;
|
|
1271
|
-
/**
|
|
1724
|
+
/** The period of executing the clear old parts operation in background. */
|
|
1725
|
+
merge_tree_clear_old_parts_interval_seconds?: UInt64;
|
|
1726
|
+
/** The period of executing the clear old temporary directories operation in background. */
|
|
1727
|
+
merge_tree_clear_old_temporary_directories_interval_seconds?: UInt64;
|
|
1728
|
+
/** Enable clearing old broken detached parts operation in background. */
|
|
1272
1729
|
merge_tree_enable_clear_old_broken_detached?: UInt64;
|
|
1273
|
-
/**
|
|
1274
|
-
|
|
1275
|
-
/**
|
|
1730
|
+
/** Minimal time in seconds, when merge with recompression TTL can be repeated. */
|
|
1731
|
+
merge_with_recompression_ttl_timeout?: Int64;
|
|
1732
|
+
/** Minimal time in seconds, when merge with delete TTL can be repeated. */
|
|
1733
|
+
merge_with_ttl_timeout?: Int64;
|
|
1734
|
+
/** Minimal absolute delay to close, stop serving requests and not return Ok during status check. */
|
|
1735
|
+
min_absolute_delay_to_close?: UInt64;
|
|
1736
|
+
/** Whether min_age_to_force_merge_seconds should be applied only on the entire partition and not on subset. */
|
|
1737
|
+
min_age_to_force_merge_on_partition_only?: Bool;
|
|
1738
|
+
/** If all parts in a certain range are older than this value, range will be always eligible for merging. Set to 0 to disable. */
|
|
1739
|
+
min_age_to_force_merge_seconds?: UInt64;
|
|
1740
|
+
/** Obsolete setting, does nothing. */
|
|
1741
|
+
min_bytes_for_compact_part?: UInt64;
|
|
1742
|
+
/** Minimal uncompressed size in bytes to create part in wide format instead of compact */
|
|
1743
|
+
min_bytes_for_wide_part?: UInt64;
|
|
1744
|
+
/** Minimal amount of bytes to enable part rebalance over JBOD array (0 - disabled). */
|
|
1745
|
+
min_bytes_to_rebalance_partition_over_jbod?: UInt64;
|
|
1746
|
+
/** When granule is written, compress the data in buffer if the size of pending uncompressed data is larger or equal than the specified threshold. If this setting is not set, the corresponding global setting is used. */
|
|
1747
|
+
min_compress_block_size?: UInt64;
|
|
1748
|
+
/** Minimal number of compressed bytes to do fsync for part after fetch (0 - disabled) */
|
|
1749
|
+
min_compressed_bytes_to_fsync_after_fetch?: UInt64;
|
|
1750
|
+
/** Minimal number of compressed bytes to do fsync for part after merge (0 - disabled) */
|
|
1751
|
+
min_compressed_bytes_to_fsync_after_merge?: UInt64;
|
|
1752
|
+
/** Min delay of inserting data into MergeTree table in milliseconds, if there are a lot of unmerged parts in single partition. */
|
|
1753
|
+
min_delay_to_insert_ms?: UInt64;
|
|
1754
|
+
/** Min delay of mutating MergeTree table in milliseconds, if there are a lot of unfinished mutations */
|
|
1755
|
+
min_delay_to_mutate_ms?: UInt64;
|
|
1756
|
+
/** Minimum amount of bytes in single granule. */
|
|
1757
|
+
min_index_granularity_bytes?: UInt64;
|
|
1758
|
+
/** Minimal number of marks to honor the MergeTree-level's max_concurrent_queries (0 - disabled). Queries will still be limited by other max_concurrent_queries settings. */
|
|
1759
|
+
min_marks_to_honor_max_concurrent_queries?: UInt64;
|
|
1760
|
+
/** Minimal amount of bytes to enable O_DIRECT in merge (0 - disabled). */
|
|
1761
|
+
min_merge_bytes_to_use_direct_io?: UInt64;
|
|
1762
|
+
/** Minimal delay from other replicas to close, stop serving requests and not return Ok during status check. */
|
|
1763
|
+
min_relative_delay_to_close?: UInt64;
|
|
1764
|
+
/** Calculate relative replica delay only if absolute delay is not less that this value. */
|
|
1765
|
+
min_relative_delay_to_measure?: UInt64;
|
|
1766
|
+
/** Obsolete setting, does nothing. */
|
|
1767
|
+
min_relative_delay_to_yield_leadership?: UInt64;
|
|
1768
|
+
/** Keep about this number of last records in ZooKeeper log, even if they are obsolete. It doesn't affect work of tables: used only to diagnose ZooKeeper log before cleaning. */
|
|
1769
|
+
min_replicated_logs_to_keep?: UInt64;
|
|
1770
|
+
/** Obsolete setting, does nothing. */
|
|
1771
|
+
min_rows_for_compact_part?: UInt64;
|
|
1772
|
+
/** Minimal number of rows to create part in wide format instead of compact */
|
|
1773
|
+
min_rows_for_wide_part?: UInt64;
|
|
1774
|
+
/** Minimal number of rows to do fsync for part after merge (0 - disabled) */
|
|
1775
|
+
min_rows_to_fsync_after_merge?: UInt64;
|
|
1776
|
+
/** How many last blocks of hashes should be kept on disk (0 - disabled). */
|
|
1777
|
+
non_replicated_deduplication_window?: UInt64;
|
|
1778
|
+
/** When there is less than specified number of free entries in pool, do not execute part mutations. This is to leave free threads for regular merges and avoid \"Too many parts\" */
|
|
1779
|
+
number_of_free_entries_in_pool_to_execute_mutation?: UInt64;
|
|
1780
|
+
/** When there is less than specified number of free entries in pool (or replicated queue), start to lower maximum size of merge to process (or to put in queue). This is to allow small merges to process - not filling the pool with long running merges. */
|
|
1781
|
+
number_of_free_entries_in_pool_to_lower_max_size_of_merge?: UInt64;
|
|
1782
|
+
/** If table has at least that many unfinished mutations, artificially slow down mutations of table. Disabled if set to 0 */
|
|
1783
|
+
number_of_mutations_to_delay?: UInt64;
|
|
1784
|
+
/** If table has at least that many unfinished mutations, throw 'Too many mutations' exception. Disabled if set to 0 */
|
|
1785
|
+
number_of_mutations_to_throw?: UInt64;
|
|
1786
|
+
/** How many seconds to keep obsolete parts. */
|
|
1787
|
+
old_parts_lifetime?: Seconds;
|
|
1788
|
+
/** Time to wait before/after moving parts between shards. */
|
|
1789
|
+
part_moves_between_shards_delay_seconds?: UInt64;
|
|
1790
|
+
/** Experimental/Incomplete feature to move parts between shards. Does not take into account sharding expressions. */
|
|
1791
|
+
part_moves_between_shards_enable?: UInt64;
|
|
1792
|
+
/** If table contains at least that many active parts in single partition, artificially slow down insert into table. Disabled if set to 0 */
|
|
1276
1793
|
parts_to_delay_insert?: UInt64;
|
|
1277
|
-
/** If
|
|
1278
|
-
inactive_parts_to_delay_insert?: UInt64;
|
|
1279
|
-
/** If more than this number active parts in single partition (default: 300) */
|
|
1794
|
+
/** If more than this number active parts in single partition, throw 'Too many parts ...' exception. */
|
|
1280
1795
|
parts_to_throw_insert?: UInt64;
|
|
1281
|
-
/** If
|
|
1282
|
-
inactive_parts_to_throw_insert?: UInt64;
|
|
1283
|
-
/** Max delay of inserting data into MergeTree table in seconds (default: 1) */
|
|
1284
|
-
max_delay_to_insert?: UInt64;
|
|
1285
|
-
/** If more than this number active parts in all partitions in total (default: 100000) */
|
|
1286
|
-
max_parts_in_total?: UInt64;
|
|
1287
|
-
/** How many last blocks of hashes should be kept in ZooKeeper (old blocks will be deleted). (default: 100) */
|
|
1288
|
-
replicated_deduplication_window?: UInt64;
|
|
1289
|
-
/** Similar to "replicated_deduplication_window" (default: 7 * 24 * 60 * 60 // one week) */
|
|
1290
|
-
replicated_deduplication_window_seconds?: UInt64;
|
|
1291
|
-
/** How many records may be in log (default: 1000) */
|
|
1292
|
-
max_replicated_logs_to_keep?: UInt64;
|
|
1293
|
-
/** Keep about this number of last records in ZooKeeper log (default: 10) */
|
|
1294
|
-
min_replicated_logs_to_keep?: UInt64;
|
|
1295
|
-
/** If time passed after replication log entry creation exceeds this threshold and sum size of parts is greater than \"prefer_fetch_merged_part_size_threshold\ (default: 3600) */
|
|
1296
|
-
prefer_fetch_merged_part_time_threshold?: Seconds;
|
|
1297
|
-
/** If sum size of parts exceeds this threshold and time passed after replication log entry creation is greater than \"prefer_fetch_merged_part_time_threshold\ (default: 10ULL * 1024 * 1024 * 1024) */
|
|
1796
|
+
/** If sum size of parts exceeds this threshold and time passed after replication log entry creation is greater than \"prefer_fetch_merged_part_time_threshold\", prefer fetching merged part from replica instead of doing merge locally. To speed up very long merges. */
|
|
1298
1797
|
prefer_fetch_merged_part_size_threshold?: UInt64;
|
|
1299
|
-
/**
|
|
1300
|
-
|
|
1301
|
-
/**
|
|
1798
|
+
/** If time passed after replication log entry creation exceeds this threshold and sum size of parts is greater than \"prefer_fetch_merged_part_size_threshold\", prefer fetching merged part from replica instead of doing merge locally. To speed up very long merges. */
|
|
1799
|
+
prefer_fetch_merged_part_time_threshold?: Seconds;
|
|
1800
|
+
/** Primary compress block size, the actual size of the block to compress. */
|
|
1801
|
+
primary_key_compress_block_size?: UInt64;
|
|
1802
|
+
/** Compression encoding used by primary, primary key is small enough and cached, so the default compression is ZSTD(3). */
|
|
1803
|
+
primary_key_compression_codec?: string;
|
|
1804
|
+
/** Minimal ratio of number of default values to number of all values in column to store it in sparse serializations. If >= 1, columns will be always written in full serialization. */
|
|
1805
|
+
ratio_of_defaults_for_sparse_serialization?: Float;
|
|
1806
|
+
/** When greater than zero only a single replica starts the merge immediately if merged part on shared storage and 'allow_remote_fs_zero_copy_replication' is enabled. */
|
|
1302
1807
|
remote_fs_execute_merges_on_single_replica_time_threshold?: Seconds;
|
|
1303
|
-
/**
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
|
|
1309
|
-
/**
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
|
|
1313
|
-
/**
|
|
1314
|
-
|
|
1315
|
-
/**
|
|
1316
|
-
|
|
1317
|
-
/**
|
|
1318
|
-
|
|
1319
|
-
/**
|
|
1808
|
+
/** Run zero-copy in compatible mode during conversion process. */
|
|
1809
|
+
remote_fs_zero_copy_path_compatible_mode?: Bool;
|
|
1810
|
+
/** ZooKeeper path for zero-copy table-independent info. */
|
|
1811
|
+
remote_fs_zero_copy_zookeeper_path?: string;
|
|
1812
|
+
/** Remove empty parts after they were pruned by TTL, mutation, or collapsing merge algorithm. */
|
|
1813
|
+
remove_empty_parts?: Bool;
|
|
1814
|
+
/** Setting for an incomplete experimental feature. */
|
|
1815
|
+
remove_rolled_back_parts_immediately?: Bool;
|
|
1816
|
+
/** If true, Replicated tables replicas on this node will try to acquire leadership. */
|
|
1817
|
+
replicated_can_become_leader?: Bool;
|
|
1818
|
+
/** How many last blocks of hashes should be kept in ZooKeeper (old blocks will be deleted). */
|
|
1819
|
+
replicated_deduplication_window?: UInt64;
|
|
1820
|
+
/** How many last hash values of async_insert blocks should be kept in ZooKeeper (old blocks will be deleted). */
|
|
1821
|
+
replicated_deduplication_window_for_async_inserts?: UInt64;
|
|
1822
|
+
/** Similar to \"replicated_deduplication_window\", but determines old blocks by their lifetime. Hash of an inserted block will be deleted (and the block will not be deduplicated after) if it outside of one \"window\". You can set very big replicated_deduplication_window to avoid duplicating INSERTs during that period of time. */
|
|
1823
|
+
replicated_deduplication_window_seconds?: UInt64;
|
|
1824
|
+
/** Similar to \"replicated_deduplication_window_for_async_inserts\", but determines old blocks by their lifetime. Hash of an inserted block will be deleted (and the block will not be deduplicated after) if it outside of one \"window\". You can set very big replicated_deduplication_window to avoid duplicating INSERTs during that period of time. */
|
|
1825
|
+
replicated_deduplication_window_seconds_for_async_inserts?: UInt64;
|
|
1826
|
+
/** HTTP connection timeout for part fetch requests. Inherited from default profile `http_connection_timeout` if not set explicitly. */
|
|
1320
1827
|
replicated_fetches_http_connection_timeout?: Seconds;
|
|
1321
|
-
/** HTTP
|
|
1322
|
-
replicated_fetches_http_send_timeout?: Seconds;
|
|
1323
|
-
/** HTTP receive timeout for fetch part requests. Inherited from default profile `http_receive_timeout` if not set explicitly. (default: 0) */
|
|
1828
|
+
/** HTTP receive timeout for fetch part requests. Inherited from default profile `http_receive_timeout` if not set explicitly. */
|
|
1324
1829
|
replicated_fetches_http_receive_timeout?: Seconds;
|
|
1325
|
-
/**
|
|
1326
|
-
|
|
1327
|
-
/**
|
|
1328
|
-
|
|
1329
|
-
/**
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
|
|
1335
|
-
/**
|
|
1336
|
-
|
|
1337
|
-
/**
|
|
1338
|
-
|
|
1339
|
-
/**
|
|
1340
|
-
|
|
1341
|
-
/**
|
|
1342
|
-
|
|
1343
|
-
/**
|
|
1344
|
-
cleanup_delay_period_random_add?: UInt64;
|
|
1345
|
-
/** Minimal delay from other replicas to close (default: 300) */
|
|
1346
|
-
min_relative_delay_to_close?: UInt64;
|
|
1347
|
-
/** Minimal absolute delay to close (default: 0) */
|
|
1348
|
-
min_absolute_delay_to_close?: UInt64;
|
|
1349
|
-
/** Enable usage of Vertical merge algorithm. (default: 1) */
|
|
1350
|
-
enable_vertical_merge_algorithm?: UInt64;
|
|
1351
|
-
/** Minimal (approximate) sum of rows in merging parts to activate Vertical merge algorithm. (default: 16 * DEFAULT_MERGE_BLOCK_SIZE) */
|
|
1352
|
-
vertical_merge_algorithm_min_rows_to_activate?: UInt64;
|
|
1353
|
-
/** Minimal amount of non-PK columns to activate Vertical merge algorithm. (default: 11) */
|
|
1354
|
-
vertical_merge_algorithm_min_columns_to_activate?: UInt64;
|
|
1355
|
-
/** Allow to create a table with sampling expression not in primary key. This is needed only to temporarily allow to run the server with wrong tables for backward compatibility. (default: false) */
|
|
1356
|
-
compatibility_allow_sampling_expression_not_in_primary_key?: Bool;
|
|
1357
|
-
/** Use small format (dozens bytes) for part checksums in ZooKeeper instead of ordinary ones (dozens KB). Before enabling check that all replicas support new format. (default: true) */
|
|
1358
|
-
use_minimalistic_checksums_in_zookeeper?: Bool;
|
|
1359
|
-
/** Store part header (checksums and columns) in a compact format and a single part znode instead of separate znodes (<part>/columns and <part>/checksums). This can dramatically reduce snapshot size in ZooKeeper. Before enabling check that all replicas support new format. (default: true) */
|
|
1360
|
-
use_minimalistic_part_header_in_zookeeper?: Bool;
|
|
1361
|
-
/** How many records about mutations that are done to keep. If zero (default: 100) */
|
|
1362
|
-
finished_mutations_to_keep?: UInt64;
|
|
1363
|
-
/** Minimal amount of bytes to enable O_DIRECT in merge (0 - disabled). (default: 10ULL * 1024 * 1024 * 1024) */
|
|
1364
|
-
min_merge_bytes_to_use_direct_io?: UInt64;
|
|
1365
|
-
/** Approximate amount of bytes in single granule (0 - disabled). (default: 10 * 1024 * 1024) */
|
|
1366
|
-
index_granularity_bytes?: UInt64;
|
|
1367
|
-
/** Minimum amount of bytes in single granule. (default: 1024) */
|
|
1368
|
-
min_index_granularity_bytes?: UInt64;
|
|
1369
|
-
/** Minimal time in seconds (default: 3600 * 4) */
|
|
1370
|
-
merge_with_ttl_timeout?: Int64;
|
|
1371
|
-
/** Minimal time in seconds (default: 3600 * 4) */
|
|
1372
|
-
merge_with_recompression_ttl_timeout?: Int64;
|
|
1373
|
-
/** Only drop altogether the expired parts and not partially prune them. (default: false) */
|
|
1374
|
-
ttl_only_drop_parts?: Bool;
|
|
1375
|
-
/** Only recalculate ttl info when MATERIALIZE TTL (default: false) */
|
|
1376
|
-
materialize_ttl_recalculate_only?: Bool;
|
|
1377
|
-
/** Enable parts with adaptive and non-adaptive granularity (default: true) */
|
|
1378
|
-
enable_mixed_granularity_parts?: Bool;
|
|
1379
|
-
/** The number of threads to load data parts at startup. (default: 0) */
|
|
1380
|
-
max_part_loading_threads?: MaxThreads;
|
|
1381
|
-
/** The number of threads for concurrent removal of inactive data parts. One is usually enough (default: 0) */
|
|
1382
|
-
max_part_removal_threads?: MaxThreads;
|
|
1383
|
-
/** Activate concurrent part removal (see 'max_part_removal_threads') only if the number of inactive data parts is at least this. (default: 100) */
|
|
1384
|
-
concurrent_part_removal_threshold?: UInt64;
|
|
1385
|
-
/** Name of storage disk policy (default: "default") */
|
|
1830
|
+
/** HTTP send timeout for part fetch requests. Inherited from default profile `http_send_timeout` if not set explicitly. */
|
|
1831
|
+
replicated_fetches_http_send_timeout?: Seconds;
|
|
1832
|
+
/** Max number of mutation commands that can be merged together and executed in one MUTATE_PART entry (0 means unlimited) */
|
|
1833
|
+
replicated_max_mutations_in_one_entry?: UInt64;
|
|
1834
|
+
/** Obsolete setting, does nothing. */
|
|
1835
|
+
replicated_max_parallel_fetches?: UInt64;
|
|
1836
|
+
/** Limit parallel fetches from endpoint (actually pool size). */
|
|
1837
|
+
replicated_max_parallel_fetches_for_host?: UInt64;
|
|
1838
|
+
/** Obsolete setting, does nothing. */
|
|
1839
|
+
replicated_max_parallel_fetches_for_table?: UInt64;
|
|
1840
|
+
/** Obsolete setting, does nothing. */
|
|
1841
|
+
replicated_max_parallel_sends?: UInt64;
|
|
1842
|
+
/** Obsolete setting, does nothing. */
|
|
1843
|
+
replicated_max_parallel_sends_for_table?: UInt64;
|
|
1844
|
+
/** If ratio of wrong parts to total number of parts is less than this - allow to start. */
|
|
1845
|
+
replicated_max_ratio_of_wrong_parts?: Float;
|
|
1846
|
+
/** Maximum number of parts to remove during one CleanupThread iteration (0 means unlimited). */
|
|
1847
|
+
simultaneous_parts_removal_limit?: UInt64;
|
|
1848
|
+
/** Name of storage disk policy */
|
|
1386
1849
|
storage_policy?: string;
|
|
1387
|
-
/**
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1390
|
-
|
|
1391
|
-
/**
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
1396
|
-
max_concurrent_queries?: UInt64;
|
|
1397
|
-
/** Minimal number of marks to honor the MergeTree-level's max_concurrent_queries (0 - disabled). Queries will still be limited by other max_concurrent_queries settings. (default: 0) */
|
|
1398
|
-
min_marks_to_honor_max_concurrent_queries?: UInt64;
|
|
1399
|
-
/** Minimal amount of bytes to enable part rebalance over JBOD array (0 - disabled). (default: 0) */
|
|
1400
|
-
min_bytes_to_rebalance_partition_over_jbod?: UInt64;
|
|
1401
|
-
/** Check columns or columns by hash for sampling are unsigned integer. (default: true) */
|
|
1402
|
-
check_sample_column_is_correct?: Bool;
|
|
1403
|
-
/** Experimental/Incomplete feature to move parts between shards. Does not take into account sharding expressions. (default: 0) */
|
|
1404
|
-
part_moves_between_shards_enable?: UInt64;
|
|
1405
|
-
/** Time to wait before/after moving parts between shards. (default: 30) */
|
|
1406
|
-
part_moves_between_shards_delay_seconds?: UInt64;
|
|
1407
|
-
/** Experimental feature to speed up parts loading process by using MergeTree metadata cache (default: false) */
|
|
1850
|
+
/** How many seconds to keep tmp_-directories. You should not lower this value because merges and mutations may not be able to work with low value of this setting. */
|
|
1851
|
+
temporary_directories_lifetime?: Seconds;
|
|
1852
|
+
/** Recompression works slow in most cases, so we don't start merge with recompression until this timeout and trying to fetch recompressed part from replica which assigned this merge with recompression. */
|
|
1853
|
+
try_fetch_recompressed_part_timeout?: Seconds;
|
|
1854
|
+
/** Only drop altogether the expired parts and not partially prune them. */
|
|
1855
|
+
ttl_only_drop_parts?: Bool;
|
|
1856
|
+
/** use in-memory cache to filter duplicated async inserts based on block ids */
|
|
1857
|
+
use_async_block_ids_cache?: Bool;
|
|
1858
|
+
/** Experimental feature to speed up parts loading process by using MergeTree metadata cache */
|
|
1408
1859
|
use_metadata_cache?: Bool;
|
|
1409
|
-
/**
|
|
1410
|
-
|
|
1411
|
-
/**
|
|
1412
|
-
|
|
1413
|
-
/**
|
|
1414
|
-
|
|
1860
|
+
/** Use small format (dozens bytes) for part checksums in ZooKeeper instead of ordinary ones (dozens KB). Before enabling check that all replicas support new format. */
|
|
1861
|
+
use_minimalistic_checksums_in_zookeeper?: Bool;
|
|
1862
|
+
/** Store part header (checksums and columns) in a compact format and a single part znode instead of separate znodes (<part>/columns and <part>/checksums). This can dramatically reduce snapshot size in ZooKeeper. Before enabling check that all replicas support new format. */
|
|
1863
|
+
use_minimalistic_part_header_in_zookeeper?: Bool;
|
|
1864
|
+
/** Minimal (approximate) uncompressed size in bytes in merging parts to activate Vertical merge algorithm. */
|
|
1865
|
+
vertical_merge_algorithm_min_bytes_to_activate?: UInt64;
|
|
1866
|
+
/** Minimal amount of non-PK columns to activate Vertical merge algorithm. */
|
|
1867
|
+
vertical_merge_algorithm_min_columns_to_activate?: UInt64;
|
|
1868
|
+
/** Minimal (approximate) sum of rows in merging parts to activate Vertical merge algorithm. */
|
|
1869
|
+
vertical_merge_algorithm_min_rows_to_activate?: UInt64;
|
|
1870
|
+
/** Obsolete setting, does nothing. */
|
|
1871
|
+
write_ahead_log_bytes_to_fsync?: UInt64;
|
|
1872
|
+
/** Obsolete setting, does nothing. */
|
|
1873
|
+
write_ahead_log_interval_ms_to_fsync?: UInt64;
|
|
1874
|
+
/** Obsolete setting, does nothing. */
|
|
1875
|
+
write_ahead_log_max_bytes?: UInt64;
|
|
1876
|
+
/** Obsolete setting, does nothing. */
|
|
1877
|
+
write_final_mark?: Bool;
|
|
1878
|
+
/** Max percentage of top level parts to postpone removal in order to get smaller independent ranges (highly not recommended to change) */
|
|
1879
|
+
zero_copy_concurrent_part_removal_max_postpone_ratio?: Float;
|
|
1880
|
+
/** Max recursion depth for splitting independent Outdated parts ranges into smaller subranges (highly not recommended to change) */
|
|
1881
|
+
zero_copy_concurrent_part_removal_max_split_times?: UInt64;
|
|
1882
|
+
/** If zero copy replication is enabled sleep random amount of time before trying to lock depending on parts size for merge or mutation */
|
|
1883
|
+
zero_copy_merge_mutation_min_parts_size_sleep_before_lock?: UInt64;
|
|
1884
|
+
/** ZooKeeper session expiration check period, in seconds. */
|
|
1885
|
+
zookeeper_session_expiration_check_period?: Seconds;
|
|
1415
1886
|
}
|
|
1416
1887
|
type Bool = 0 | 1;
|
|
1417
1888
|
type Int64 = string;
|
|
@@ -1437,17 +1908,25 @@ export type LogsLevel = 'none' | 'fatal' | 'error' | 'warning' | 'information' |
|
|
|
1437
1908
|
export type LogQueriesType = 'QUERY_START' | 'QUERY_FINISH' | 'EXCEPTION_BEFORE_START' | 'EXCEPTION_WHILE_PROCESSING';
|
|
1438
1909
|
export type DefaultTableEngine = 'Memory' | 'ReplicatedMergeTree' | 'ReplacingMergeTree' | 'MergeTree' | 'StripeLog' | 'ReplicatedReplacingMergeTree' | 'Log' | 'None';
|
|
1439
1910
|
export type MySQLDataTypesSupport = '' | 'date2String' | 'date2Date32' | 'datetime64' | 'decimal';
|
|
1440
|
-
export type UnionMode = '' | 'ALL' | 'DISTINCT';
|
|
1441
1911
|
export type DistributedDDLOutputMode = 'never_throw' | 'null_status_on_timeout' | 'throw' | 'none';
|
|
1442
1912
|
export type ShortCircuitFunctionEvaluation = 'force_enable' | 'disable' | 'enable';
|
|
1443
1913
|
export type TransactionsWaitCSNMode = 'wait_unknown' | 'wait' | 'async';
|
|
1444
1914
|
export type EscapingRule = 'CSV' | 'JSON' | 'Quoted' | 'Raw' | 'XML' | 'Escaped' | 'None';
|
|
1445
1915
|
export type DateTimeOutputFormat = 'simple' | 'iso' | 'unix_timestamp';
|
|
1446
|
-
export type EnumComparingMode = 'by_names_case_insensitive' | 'by_values' | 'by_names';
|
|
1447
1916
|
export type DateTimeInputFormat = 'best_effort_us' | 'best_effort' | 'basic';
|
|
1448
1917
|
export type MsgPackUUIDRepresentation = 'ext' | 'str' | 'bin';
|
|
1449
1918
|
export type OverflowMode = 'break' | 'throw';
|
|
1450
1919
|
export type OverflowModeGroupBy = OverflowMode | 'any';
|
|
1451
1920
|
export type JoinStrictness = 'ANY' | 'ALL' | '';
|
|
1452
|
-
export type JoinAlgorithm = 'prefer_partial_merge' | 'hash' | 'parallel_hash' | 'partial_merge' | 'auto';
|
|
1921
|
+
export type JoinAlgorithm = 'prefer_partial_merge' | 'hash' | 'parallel_hash' | 'partial_merge' | 'auto' | 'default' | 'direct' | 'full_sorting_merge' | 'grace_hash';
|
|
1922
|
+
export type Dialect = 'clickhouse' | 'kusto' | 'kusto_auto' | 'prql';
|
|
1923
|
+
export type CapnProtoEnumComparingMode = 'by_names' | 'by_values' | 'by_names_case_insensitive';
|
|
1924
|
+
export type ParquetCompression = 'none' | 'snappy' | 'zstd' | 'gzip' | 'lz4' | 'brotli';
|
|
1925
|
+
export type ArrowCompression = 'none' | 'lz4_frame' | 'zstd';
|
|
1926
|
+
export type ORCCompression = 'none' | 'snappy' | 'zstd' | 'gzip' | 'lz4';
|
|
1927
|
+
export type SetOperationMode = '' | 'ALL' | 'DISTINCT';
|
|
1928
|
+
export type LocalFSReadMethod = 'read' | 'pread' | 'mmap';
|
|
1929
|
+
export type ParallelReplicasCustomKeyFilterType = 'default' | 'range';
|
|
1930
|
+
export type IntervalOutputFormat = 'kusto' | 'numeric';
|
|
1931
|
+
export type ParquetVersion = '1.0' | '2.4' | '2.6' | '2.latest';
|
|
1453
1932
|
export {};
|