clickhouse-driver 0.2.1__cp39-cp39-win_amd64.whl → 0.2.8__cp39-cp39-win_amd64.whl
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.
- clickhouse_driver/__init__.py +9 -9
- clickhouse_driver/block.py +227 -195
- clickhouse_driver/blockstreamprofileinfo.py +22 -22
- clickhouse_driver/bufferedreader.cp39-win_amd64.pyd +0 -0
- clickhouse_driver/bufferedwriter.cp39-win_amd64.pyd +0 -0
- clickhouse_driver/client.py +896 -666
- clickhouse_driver/clientinfo.py +119 -80
- clickhouse_driver/columns/arraycolumn.py +161 -150
- clickhouse_driver/columns/base.py +221 -147
- clickhouse_driver/columns/boolcolumn.py +7 -0
- clickhouse_driver/columns/datecolumn.py +108 -49
- clickhouse_driver/columns/datetimecolumn.py +202 -207
- clickhouse_driver/columns/decimalcolumn.py +116 -118
- clickhouse_driver/columns/enumcolumn.py +119 -119
- clickhouse_driver/columns/exceptions.py +12 -12
- clickhouse_driver/columns/floatcolumn.py +34 -34
- clickhouse_driver/columns/intcolumn.py +157 -157
- clickhouse_driver/columns/intervalcolumn.py +33 -33
- clickhouse_driver/columns/ipcolumn.py +118 -118
- clickhouse_driver/columns/jsoncolumn.py +37 -0
- clickhouse_driver/columns/largeint.cp39-win_amd64.pyd +0 -0
- clickhouse_driver/columns/lowcardinalitycolumn.py +142 -123
- clickhouse_driver/columns/mapcolumn.py +73 -58
- clickhouse_driver/columns/nestedcolumn.py +10 -0
- clickhouse_driver/columns/nothingcolumn.py +13 -13
- clickhouse_driver/columns/nullablecolumn.py +7 -7
- clickhouse_driver/columns/nullcolumn.py +15 -15
- clickhouse_driver/columns/numpy/base.py +47 -14
- clickhouse_driver/columns/numpy/boolcolumn.py +8 -0
- clickhouse_driver/columns/numpy/datecolumn.py +19 -12
- clickhouse_driver/columns/numpy/datetimecolumn.py +143 -145
- clickhouse_driver/columns/numpy/floatcolumn.py +24 -13
- clickhouse_driver/columns/numpy/intcolumn.py +43 -43
- clickhouse_driver/columns/numpy/lowcardinalitycolumn.py +96 -83
- clickhouse_driver/columns/numpy/service.py +58 -80
- clickhouse_driver/columns/numpy/stringcolumn.py +78 -76
- clickhouse_driver/columns/numpy/tuplecolumn.py +37 -0
- clickhouse_driver/columns/service.py +185 -131
- clickhouse_driver/columns/simpleaggregatefunctioncolumn.py +7 -7
- clickhouse_driver/columns/stringcolumn.py +73 -73
- clickhouse_driver/columns/tuplecolumn.py +63 -65
- clickhouse_driver/columns/util.py +60 -0
- clickhouse_driver/columns/uuidcolumn.py +64 -64
- clickhouse_driver/compression/__init__.py +28 -28
- clickhouse_driver/compression/base.py +87 -52
- clickhouse_driver/compression/lz4.py +21 -55
- clickhouse_driver/compression/lz4hc.py +9 -9
- clickhouse_driver/compression/zstd.py +20 -51
- clickhouse_driver/connection.py +784 -632
- clickhouse_driver/context.py +36 -36
- clickhouse_driver/dbapi/__init__.py +62 -62
- clickhouse_driver/dbapi/connection.py +99 -96
- clickhouse_driver/dbapi/cursor.py +370 -368
- clickhouse_driver/dbapi/errors.py +40 -40
- clickhouse_driver/dbapi/extras.py +73 -0
- clickhouse_driver/defines.py +55 -42
- clickhouse_driver/errors.py +453 -446
- clickhouse_driver/log.py +48 -44
- clickhouse_driver/numpy/block.py +8 -8
- clickhouse_driver/numpy/helpers.py +25 -25
- clickhouse_driver/numpy/result.py +123 -123
- clickhouse_driver/opentelemetry.py +43 -0
- clickhouse_driver/progress.py +38 -32
- clickhouse_driver/protocol.py +114 -105
- clickhouse_driver/queryprocessingstage.py +8 -8
- clickhouse_driver/reader.py +69 -69
- clickhouse_driver/readhelpers.py +26 -26
- clickhouse_driver/result.py +144 -144
- clickhouse_driver/settings/available.py +405 -405
- clickhouse_driver/settings/types.py +50 -50
- clickhouse_driver/settings/writer.py +34 -29
- clickhouse_driver/streams/compressed.py +88 -88
- clickhouse_driver/streams/native.py +102 -90
- clickhouse_driver/util/compat.py +39 -0
- clickhouse_driver/util/escape.py +94 -55
- clickhouse_driver/util/helpers.py +57 -57
- clickhouse_driver/varint.cp39-win_amd64.pyd +0 -0
- clickhouse_driver/writer.py +67 -67
- {clickhouse_driver-0.2.1.dist-info → clickhouse_driver-0.2.8.dist-info}/LICENSE +21 -21
- clickhouse_driver-0.2.8.dist-info/METADATA +201 -0
- clickhouse_driver-0.2.8.dist-info/RECORD +89 -0
- {clickhouse_driver-0.2.1.dist-info → clickhouse_driver-0.2.8.dist-info}/WHEEL +1 -1
- clickhouse_driver-0.2.1.dist-info/METADATA +0 -24
- clickhouse_driver-0.2.1.dist-info/RECORD +0 -80
- {clickhouse_driver-0.2.1.dist-info → clickhouse_driver-0.2.8.dist-info}/top_level.txt +0 -0
|
@@ -1,405 +1,405 @@
|
|
|
1
|
-
from .types import (
|
|
2
|
-
SettingUInt64, SettingBool, SettingFloat, SettingString, SettingMaxThreads,
|
|
3
|
-
SettingChar
|
|
4
|
-
)
|
|
5
|
-
|
|
6
|
-
SettingInt64 = SettingUInt64
|
|
7
|
-
|
|
8
|
-
# Seconds and milliseconds should be set as ints.
|
|
9
|
-
SettingSeconds = SettingMilliseconds = SettingUInt64
|
|
10
|
-
|
|
11
|
-
# Server cares about possible choices validation.
|
|
12
|
-
# See https://github.com/yandex/ClickHouse/blob/master/dbms/src/
|
|
13
|
-
# Interpreters/Settings.h for all choices.
|
|
14
|
-
SettingLoadBalancing = SettingTotalsMode = SettingCompressionMethod = \
|
|
15
|
-
SettingDistributedProductMode = SettingGlobalSubqueriesMethod = \
|
|
16
|
-
SettingDateTimeInputFormat = \
|
|
17
|
-
SettingURI = \
|
|
18
|
-
SettingJoinAlgorithm = \
|
|
19
|
-
SettingSpecialSort = \
|
|
20
|
-
SettingLogQueriesType = \
|
|
21
|
-
SettingDefaultDatabaseEngine = \
|
|
22
|
-
SettingString
|
|
23
|
-
|
|
24
|
-
settings = {
|
|
25
|
-
# Settings
|
|
26
|
-
'min_compress_block_size': SettingUInt64,
|
|
27
|
-
'max_compress_block_size': SettingUInt64,
|
|
28
|
-
'max_block_size': SettingUInt64,
|
|
29
|
-
'max_insert_block_size': SettingUInt64,
|
|
30
|
-
'min_insert_block_size_rows': SettingUInt64,
|
|
31
|
-
'min_insert_block_size_bytes': SettingUInt64,
|
|
32
|
-
'max_partitions_per_insert_block': SettingUInt64,
|
|
33
|
-
'max_threads': SettingMaxThreads,
|
|
34
|
-
'max_alter_threads': SettingMaxThreads,
|
|
35
|
-
'max_read_buffer_size': SettingUInt64,
|
|
36
|
-
'max_distributed_connections': SettingUInt64,
|
|
37
|
-
'max_query_size': SettingUInt64,
|
|
38
|
-
'interactive_delay': SettingUInt64,
|
|
39
|
-
'connect_timeout': SettingSeconds,
|
|
40
|
-
'connect_timeout_with_failover_ms': SettingMilliseconds,
|
|
41
|
-
'receive_timeout': SettingSeconds,
|
|
42
|
-
'send_timeout': SettingSeconds,
|
|
43
|
-
'queue_max_wait_ms': SettingMilliseconds,
|
|
44
|
-
'poll_interval': SettingUInt64,
|
|
45
|
-
'distributed_connections_pool_size': SettingUInt64,
|
|
46
|
-
'connections_with_failover_max_tries': SettingUInt64,
|
|
47
|
-
'extremes': SettingBool,
|
|
48
|
-
'use_uncompressed_cache': SettingBool,
|
|
49
|
-
'replace_running_query': SettingBool,
|
|
50
|
-
'background_pool_size': SettingUInt64,
|
|
51
|
-
'background_schedule_pool_size': SettingUInt64,
|
|
52
|
-
|
|
53
|
-
'distributed_directory_monitor_sleep_time_ms': SettingMilliseconds,
|
|
54
|
-
|
|
55
|
-
'distributed_directory_monitor_batch_inserts': SettingBool,
|
|
56
|
-
'distributed_directory_monitor_max_sleep_time_ms': SettingMilliseconds,
|
|
57
|
-
|
|
58
|
-
'optimize_move_to_prewhere': SettingBool,
|
|
59
|
-
'optimize_skip_unused_shards': SettingBool,
|
|
60
|
-
'optimize_read_in_order': SettingBool,
|
|
61
|
-
'optimize_min_equality_disjunction_chain_length': SettingUInt64,
|
|
62
|
-
'enable_optimize_predicate_expression': SettingBool,
|
|
63
|
-
|
|
64
|
-
'replication_alter_partitions_sync': SettingUInt64,
|
|
65
|
-
'replication_alter_columns_timeout': SettingUInt64,
|
|
66
|
-
|
|
67
|
-
'load_balancing': SettingLoadBalancing,
|
|
68
|
-
|
|
69
|
-
'totals_mode': SettingTotalsMode,
|
|
70
|
-
'totals_auto_threshold': SettingFloat,
|
|
71
|
-
|
|
72
|
-
'compile': SettingBool,
|
|
73
|
-
'compile_expressions': SettingBool,
|
|
74
|
-
'min_count_to_compile': SettingUInt64,
|
|
75
|
-
'group_by_two_level_threshold': SettingUInt64,
|
|
76
|
-
'group_by_two_level_threshold_bytes': SettingUInt64,
|
|
77
|
-
'distributed_aggregation_memory_efficient': SettingBool,
|
|
78
|
-
'aggregation_memory_efficient_merge_threads': SettingUInt64,
|
|
79
|
-
|
|
80
|
-
'max_parallel_replicas': SettingUInt64,
|
|
81
|
-
'parallel_replicas_count': SettingUInt64,
|
|
82
|
-
'parallel_replica_offset': SettingUInt64,
|
|
83
|
-
|
|
84
|
-
'skip_unavailable_shards': SettingBool,
|
|
85
|
-
|
|
86
|
-
'distributed_group_by_no_merge': SettingBool,
|
|
87
|
-
|
|
88
|
-
'merge_tree_min_rows_for_concurrent_read': SettingUInt64,
|
|
89
|
-
'merge_tree_min_rows_for_seek': SettingUInt64,
|
|
90
|
-
'merge_tree_coarse_index_granularity': SettingUInt64,
|
|
91
|
-
'merge_tree_max_rows_to_use_cache': SettingUInt64,
|
|
92
|
-
'merge_tree_min_bytes_for_concurrent_read': SettingUInt64,
|
|
93
|
-
'merge_tree_min_bytes_for_seek': SettingUInt64,
|
|
94
|
-
'merge_tree_max_bytes_to_use_cache': SettingUInt64,
|
|
95
|
-
'merge_tree_uniform_read_distribution': SettingBool,
|
|
96
|
-
|
|
97
|
-
'mysql_max_rows_to_insert': SettingUInt64,
|
|
98
|
-
|
|
99
|
-
'min_bytes_to_use_direct_io': SettingUInt64,
|
|
100
|
-
|
|
101
|
-
'force_index_by_date': SettingBool,
|
|
102
|
-
'force_primary_key': SettingBool,
|
|
103
|
-
|
|
104
|
-
'mark_cache_min_lifetime': SettingUInt64,
|
|
105
|
-
|
|
106
|
-
'max_streams_to_max_threads_ratio': SettingFloat,
|
|
107
|
-
|
|
108
|
-
'network_compression_method': SettingCompressionMethod,
|
|
109
|
-
|
|
110
|
-
'network_zstd_compression_level': SettingInt64,
|
|
111
|
-
|
|
112
|
-
'priority': SettingUInt64,
|
|
113
|
-
|
|
114
|
-
'log_queries': SettingBool,
|
|
115
|
-
'log_queries_cut_to_length': SettingUInt64,
|
|
116
|
-
'query_profiler_real_time_period_ns': SettingUInt64,
|
|
117
|
-
'query_profiler_cpu_time_period_ns': SettingUInt64,
|
|
118
|
-
'enable_debug_queries': SettingBool,
|
|
119
|
-
|
|
120
|
-
'distributed_product_mode': SettingDistributedProductMode,
|
|
121
|
-
|
|
122
|
-
'max_concurrent_queries_for_user': SettingUInt64,
|
|
123
|
-
|
|
124
|
-
'insert_deduplicate': SettingBool,
|
|
125
|
-
|
|
126
|
-
'insert_quorum': SettingUInt64,
|
|
127
|
-
'insert_quorum_timeout': SettingMilliseconds,
|
|
128
|
-
'select_sequential_consistency': SettingUInt64,
|
|
129
|
-
'table_function_remote_max_addresses': SettingUInt64,
|
|
130
|
-
'read_backoff_min_latency_ms': SettingMilliseconds,
|
|
131
|
-
'read_backoff_max_throughput': SettingUInt64,
|
|
132
|
-
'read_backoff_min_interval_between_events_ms': SettingMilliseconds,
|
|
133
|
-
'read_backoff_min_events': SettingUInt64,
|
|
134
|
-
|
|
135
|
-
'memory_tracker_fault_probability': SettingFloat,
|
|
136
|
-
|
|
137
|
-
'enable_http_compression': SettingBool,
|
|
138
|
-
'http_zlib_compression_level': SettingInt64,
|
|
139
|
-
|
|
140
|
-
'http_native_compression_disable_checksumming_on_decompress': SettingBool,
|
|
141
|
-
|
|
142
|
-
'count_distinct_implementation': SettingString,
|
|
143
|
-
|
|
144
|
-
'add_http_cors_header': SettingBool,
|
|
145
|
-
|
|
146
|
-
'input_format_skip_unknown_fields': SettingBool,
|
|
147
|
-
'input_format_import_nested_json': SettingBool,
|
|
148
|
-
'input_format_values_interpret_expressions': SettingBool,
|
|
149
|
-
'input_format_with_names_use_header': SettingBool,
|
|
150
|
-
'input_format_defaults_for_omitted_fields': SettingBool,
|
|
151
|
-
'input_format_null_as_default': SettingBool,
|
|
152
|
-
'input_format_values_deduce_templates_of_expressions': SettingBool,
|
|
153
|
-
'input_format_values_accurate_types_of_literals': SettingBool,
|
|
154
|
-
'input_format_allow_errors_num': SettingUInt64,
|
|
155
|
-
'input_format_allow_errors_ratio': SettingFloat,
|
|
156
|
-
'input_format_csv_unquoted_null_literal_as_null': SettingBool,
|
|
157
|
-
|
|
158
|
-
'output_format_write_statistics': SettingBool,
|
|
159
|
-
'output_format_json_quote_64bit_integers': SettingBool,
|
|
160
|
-
'output_format_json_quote_denormals': SettingBool,
|
|
161
|
-
'output_format_json_escape_forward_slashes': SettingBool,
|
|
162
|
-
'output_format_pretty_max_rows': SettingUInt64,
|
|
163
|
-
'output_format_pretty_max_column_pad_width': SettingUInt64,
|
|
164
|
-
'output_format_pretty_color': SettingBool,
|
|
165
|
-
'output_format_parquet_row_group_size': SettingUInt64,
|
|
166
|
-
|
|
167
|
-
'use_client_time_zone': SettingBool,
|
|
168
|
-
|
|
169
|
-
'send_progress_in_http_headers': SettingBool,
|
|
170
|
-
|
|
171
|
-
'http_headers_progress_interval_ms': SettingUInt64,
|
|
172
|
-
|
|
173
|
-
'fsync_metadata': SettingBool,
|
|
174
|
-
|
|
175
|
-
'join_use_nulls': SettingBool,
|
|
176
|
-
'join_default_strictness': SettingString,
|
|
177
|
-
'preferred_block_size_bytes': SettingUInt64,
|
|
178
|
-
|
|
179
|
-
'max_replica_delay_for_distributed_queries': SettingUInt64,
|
|
180
|
-
'fallback_to_stale_replicas_for_distributed_queries': SettingBool,
|
|
181
|
-
'preferred_max_column_in_block_size_bytes': SettingUInt64,
|
|
182
|
-
|
|
183
|
-
'insert_distributed_sync': SettingBool,
|
|
184
|
-
'insert_distributed_timeout': SettingUInt64,
|
|
185
|
-
'distributed_ddl_task_timeout': SettingInt64,
|
|
186
|
-
'stream_flush_interval_ms': SettingMilliseconds,
|
|
187
|
-
'format_schema': SettingString,
|
|
188
|
-
'insert_allow_materialized_columns': SettingBool,
|
|
189
|
-
'http_connection_timeout': SettingSeconds,
|
|
190
|
-
'http_send_timeout': SettingSeconds,
|
|
191
|
-
'http_receive_timeout': SettingSeconds,
|
|
192
|
-
'optimize_throw_if_noop': SettingBool,
|
|
193
|
-
'use_index_for_in_with_subqueries': SettingBool,
|
|
194
|
-
'empty_result_for_aggregation_by_empty_set': SettingBool,
|
|
195
|
-
'allow_distributed_ddl': SettingBool,
|
|
196
|
-
'odbc_max_field_size': SettingUInt64,
|
|
197
|
-
|
|
198
|
-
# Limits
|
|
199
|
-
'max_rows_to_read': SettingUInt64,
|
|
200
|
-
'max_bytes_to_read': SettingUInt64,
|
|
201
|
-
'read_overflow_mode': SettingString,
|
|
202
|
-
|
|
203
|
-
'max_rows_to_group_by': SettingUInt64,
|
|
204
|
-
'group_by_overflow_mode': SettingString,
|
|
205
|
-
'max_bytes_before_external_group_by': SettingUInt64,
|
|
206
|
-
|
|
207
|
-
'max_rows_to_sort': SettingUInt64,
|
|
208
|
-
'max_bytes_to_sort': SettingUInt64,
|
|
209
|
-
'sort_overflow_mode': SettingString,
|
|
210
|
-
'max_bytes_before_external_sort': SettingUInt64,
|
|
211
|
-
'max_bytes_before_remerge_sort': SettingUInt64,
|
|
212
|
-
'max_result_rows': SettingUInt64,
|
|
213
|
-
'max_result_bytes': SettingUInt64,
|
|
214
|
-
'result_overflow_mode': SettingString,
|
|
215
|
-
|
|
216
|
-
'max_execution_time': SettingSeconds,
|
|
217
|
-
'timeout_overflow_mode': SettingString,
|
|
218
|
-
|
|
219
|
-
'min_execution_speed': SettingUInt64,
|
|
220
|
-
'timeout_before_checking_execution_speed': SettingSeconds,
|
|
221
|
-
|
|
222
|
-
'max_columns_to_read': SettingUInt64,
|
|
223
|
-
'max_temporary_columns': SettingUInt64,
|
|
224
|
-
'max_temporary_non_const_columns': SettingUInt64,
|
|
225
|
-
|
|
226
|
-
'max_subquery_depth': SettingUInt64,
|
|
227
|
-
'max_pipeline_depth': SettingUInt64,
|
|
228
|
-
'max_ast_depth': SettingUInt64,
|
|
229
|
-
'max_ast_elements': SettingUInt64,
|
|
230
|
-
'max_expanded_ast_elements': SettingUInt64,
|
|
231
|
-
|
|
232
|
-
'readonly': SettingUInt64,
|
|
233
|
-
|
|
234
|
-
'max_rows_in_set': SettingUInt64,
|
|
235
|
-
'max_bytes_in_set': SettingUInt64,
|
|
236
|
-
'set_overflow_mode': SettingString,
|
|
237
|
-
|
|
238
|
-
'max_rows_in_join': SettingUInt64,
|
|
239
|
-
'max_bytes_in_join': SettingUInt64,
|
|
240
|
-
'join_overflow_mode': SettingString,
|
|
241
|
-
|
|
242
|
-
'max_rows_to_transfer': SettingUInt64,
|
|
243
|
-
'max_bytes_to_transfer': SettingUInt64,
|
|
244
|
-
'transfer_overflow_mode': SettingString,
|
|
245
|
-
|
|
246
|
-
'max_rows_in_distinct': SettingUInt64,
|
|
247
|
-
'max_bytes_in_distinct': SettingUInt64,
|
|
248
|
-
'distinct_overflow_mode': SettingString,
|
|
249
|
-
|
|
250
|
-
'max_memory_usage': SettingUInt64,
|
|
251
|
-
'max_memory_usage_for_user': SettingUInt64,
|
|
252
|
-
'max_memory_usage_for_all_queries': SettingUInt64,
|
|
253
|
-
|
|
254
|
-
'max_network_bandwidth': SettingUInt64,
|
|
255
|
-
'max_network_bytes': SettingUInt64,
|
|
256
|
-
'max_network_bandwidth_for_user': SettingUInt64,
|
|
257
|
-
'max_network_bandwidth_for_all_users': SettingUInt64,
|
|
258
|
-
|
|
259
|
-
'max_streams_multiplier_for_merge_tables': SettingFloat,
|
|
260
|
-
'max_http_get_redirects': SettingUInt64,
|
|
261
|
-
'max_execution_speed': SettingUInt64,
|
|
262
|
-
'max_execution_speed_bytes': SettingUInt64,
|
|
263
|
-
|
|
264
|
-
'format_csv_delimiter': SettingChar,
|
|
265
|
-
'format_csv_allow_single_quotes': SettingBool,
|
|
266
|
-
'format_csv_allow_double_quotes': SettingBool,
|
|
267
|
-
|
|
268
|
-
'format_template_resultset': SettingString,
|
|
269
|
-
'format_template_row': SettingString,
|
|
270
|
-
'format_template_rows_between_delimiter': SettingString,
|
|
271
|
-
'format_custom_escaping_rule': SettingString,
|
|
272
|
-
'format_custom_field_delimiter': SettingString,
|
|
273
|
-
'format_custom_row_before_delimiter': SettingString,
|
|
274
|
-
'format_custom_row_after_delimiter': SettingString,
|
|
275
|
-
'format_custom_row_between_delimiter': SettingString,
|
|
276
|
-
'format_custom_result_before_delimiter': SettingString,
|
|
277
|
-
'format_custom_result_after_delimiter': SettingString,
|
|
278
|
-
|
|
279
|
-
'enable_conditional_computation': SettingUInt64,
|
|
280
|
-
|
|
281
|
-
'date_time_input_format': SettingDateTimeInputFormat,
|
|
282
|
-
'log_profile_events': SettingBool,
|
|
283
|
-
'log_query_settings': SettingBool,
|
|
284
|
-
'log_query_threads': SettingBool,
|
|
285
|
-
'send_logs_level': SettingString,
|
|
286
|
-
'low_cardinality_max_dictionary_size': SettingUInt64,
|
|
287
|
-
'low_cardinality_use_single_dictionary_for_part': SettingBool,
|
|
288
|
-
'decimal_check_overflow': SettingBool,
|
|
289
|
-
'prefer_localhost_replica': SettingBool,
|
|
290
|
-
'max_fetch_partition_retries_count': SettingUInt64,
|
|
291
|
-
'asterisk_left_columns_only': SettingBool,
|
|
292
|
-
'http_max_multipart_form_data_size': SettingUInt64,
|
|
293
|
-
'calculate_text_stack_trace': SettingBool,
|
|
294
|
-
'parallel_view_processing': SettingBool,
|
|
295
|
-
|
|
296
|
-
'allow_experimental_low_cardinality_type': SettingBool,
|
|
297
|
-
'allow_experimental_decimal_type': SettingBool,
|
|
298
|
-
'allow_suspicious_low_cardinality_types': SettingBool,
|
|
299
|
-
'allow_experimental_multiple_joins_emulation': SettingBool,
|
|
300
|
-
'allow_experimental_cross_to_join_conversion': SettingBool,
|
|
301
|
-
'allow_experimental_data_skipping_indices': SettingBool,
|
|
302
|
-
'allow_hyperscan': SettingBool,
|
|
303
|
-
'allow_simdjson': SettingBool,
|
|
304
|
-
'allow_introspection_functions': SettingBool,
|
|
305
|
-
'allow_drop_detached': SettingBool,
|
|
306
|
-
'allow_experimental_live_view': SettingBool,
|
|
307
|
-
'allow_ddl': SettingBool,
|
|
308
|
-
|
|
309
|
-
'partial_merge_join': SettingBool,
|
|
310
|
-
'partial_merge_join_optimizations': SettingBool,
|
|
311
|
-
'partial_merge_join_rows_in_right_blocks': SettingUInt64,
|
|
312
|
-
'partial_merge_join_rows_in_left_blocks': SettingFloat,
|
|
313
|
-
|
|
314
|
-
'distributed_replica_error_half_life': SettingSeconds,
|
|
315
|
-
'distributed_replica_error_cap': SettingUInt64,
|
|
316
|
-
|
|
317
|
-
'min_free_disk_space_for_temporary_data': SettingUInt64,
|
|
318
|
-
'tcp_keep_alive_timeout': SettingSeconds,
|
|
319
|
-
'connection_pool_max_wait_ms': SettingMilliseconds,
|
|
320
|
-
'kafka_max_wait_ms': SettingMilliseconds,
|
|
321
|
-
'idle_connection_timeout': SettingUInt64,
|
|
322
|
-
's3_min_upload_part_size': SettingUInt64,
|
|
323
|
-
'any_join_distinct_right_table_keys': SettingBool,
|
|
324
|
-
'join_any_take_last_row': SettingBool,
|
|
325
|
-
'stream_poll_timeout_ms': SettingMilliseconds,
|
|
326
|
-
'joined_subquery_requires_alias': SettingBool,
|
|
327
|
-
'enable_unaligned_array_join': SettingBool,
|
|
328
|
-
'low_cardinality_allow_in_native_format': SettingBool,
|
|
329
|
-
'external_table_functions_use_nulls': SettingBool,
|
|
330
|
-
'experimental_use_processors': SettingBool,
|
|
331
|
-
'check_query_single_value_result': SettingBool,
|
|
332
|
-
'live_view_heartbeat_interval': SettingSeconds,
|
|
333
|
-
'temporary_live_view_timeout': SettingSeconds,
|
|
334
|
-
'max_live_view_insert_blocks_before_refresh': SettingUInt64,
|
|
335
|
-
|
|
336
|
-
'max_insert_threads': SettingUInt64,
|
|
337
|
-
'replace_running_query_max_wait_ms': SettingMilliseconds,
|
|
338
|
-
'background_move_pool_size': SettingUInt64,
|
|
339
|
-
'min_count_to_compile_expression': SettingUInt64,
|
|
340
|
-
'force_optimize_skip_unused_shards': SettingUInt64,
|
|
341
|
-
'input_format_parallel_parsing': SettingBool,
|
|
342
|
-
'min_chunk_bytes_for_parallel_parsing': SettingUInt64,
|
|
343
|
-
'min_bytes_to_use_mmap_io': SettingUInt64,
|
|
344
|
-
'os_thread_priority': SettingInt64,
|
|
345
|
-
'input_format_tsv_empty_as_default': SettingBool,
|
|
346
|
-
'input_format_avro_schema_registry_url': SettingString,
|
|
347
|
-
'output_format_avro_codec': SettingString,
|
|
348
|
-
'output_format_avro_sync_interval': SettingUInt64,
|
|
349
|
-
'min_execution_speed_bytes': SettingUInt64,
|
|
350
|
-
'default_max_bytes_in_join': SettingUInt64,
|
|
351
|
-
'enable_optimize_predicate_expression_to_final_subquery': SettingBool,
|
|
352
|
-
'cancel_http_readonly_queries_on_client_close': SettingBool,
|
|
353
|
-
'enable_scalar_subquery_optimization': SettingBool,
|
|
354
|
-
'optimize_trivial_count_query': SettingBool,
|
|
355
|
-
'mutations_sync': SettingUInt64,
|
|
356
|
-
'optimize_if_chain_to_miltiif': SettingBool,
|
|
357
|
-
'max_parser_depth': SettingUInt64,
|
|
358
|
-
|
|
359
|
-
'max_joined_block_size_rows': SettingUInt64,
|
|
360
|
-
'connect_timeout_with_failover_secure_ms': SettingMilliseconds,
|
|
361
|
-
'parallel_distributed_insert_select': SettingBool,
|
|
362
|
-
'force_optimize_skip_unused_shards_no_nested': SettingBool,
|
|
363
|
-
'format_avro_schema_registry_url': SettingURI,
|
|
364
|
-
'output_format_tsv_crlf_end_of_line': SettingBool,
|
|
365
|
-
'join_algorithm': SettingJoinAlgorithm,
|
|
366
|
-
'memory_profiler_step': SettingUInt64,
|
|
367
|
-
'output_format_csv_crlf_end_of_line': SettingBool,
|
|
368
|
-
'allow_experimental_alter_materialized_view_structure': SettingBool,
|
|
369
|
-
'enable_early_constant_folding': SettingBool,
|
|
370
|
-
'deduplicate_blocks_in_dependent_materialized_views': SettingBool,
|
|
371
|
-
'use_compact_format_in_distributed_parts_names': SettingBool,
|
|
372
|
-
'multiple_joins_rewriter_version': SettingUInt64,
|
|
373
|
-
|
|
374
|
-
'min_insert_block_size_rows_for_materialized_views': SettingUInt64,
|
|
375
|
-
'min_insert_block_size_bytes_for_materialized_views': SettingUInt64,
|
|
376
|
-
'max_final_threads': SettingUInt64,
|
|
377
|
-
'background_buffer_flush_schedule_pool_size': SettingUInt64,
|
|
378
|
-
'background_distributed_schedule_pool_size': SettingUInt64,
|
|
379
|
-
'special_sort': SettingSpecialSort,
|
|
380
|
-
'optimize_distributed_group_by_sharding_key': SettingBool,
|
|
381
|
-
'log_queries_min_type': SettingLogQueriesType,
|
|
382
|
-
'allow_suspicious_codecs': SettingBool,
|
|
383
|
-
'metrics_perf_events_enabled': SettingBool,
|
|
384
|
-
'metrics_perf_events_list': SettingString,
|
|
385
|
-
'join_on_disk_max_files_to_merge': SettingUInt64,
|
|
386
|
-
'temporary_files_codec': SettingString,
|
|
387
|
-
'max_untracked_memory': SettingUInt64,
|
|
388
|
-
'memory_profiler_sample_probability': SettingFloat,
|
|
389
|
-
'optimize_aggregation_in_order': SettingBool,
|
|
390
|
-
'default_database_engine': SettingDefaultDatabaseEngine,
|
|
391
|
-
'allow_experimental_database_atomic': SettingBool,
|
|
392
|
-
'show_table_uuid_in_table_create_query_if_not_nil': SettingBool,
|
|
393
|
-
'optimize_arithmetic_operations_in_aggregate_functions': SettingBool,
|
|
394
|
-
'validate_polygons': SettingBool,
|
|
395
|
-
'transform_null_in': SettingBool,
|
|
396
|
-
'allow_nondeterministic_mutations': SettingBool,
|
|
397
|
-
'lock_acquire_timeout': SettingSeconds,
|
|
398
|
-
'materialize_ttl_after_modify': SettingBool,
|
|
399
|
-
'allow_experimental_geo_types': SettingBool,
|
|
400
|
-
'output_format_pretty_max_value_width': SettingUInt64,
|
|
401
|
-
'format_regexp': SettingString,
|
|
402
|
-
'format_regexp_escaping_rule': SettingString,
|
|
403
|
-
'format_regexp_skip_unmatched': SettingBool,
|
|
404
|
-
'output_format_enable_streaming': SettingBool,
|
|
405
|
-
}
|
|
1
|
+
from .types import (
|
|
2
|
+
SettingUInt64, SettingBool, SettingFloat, SettingString, SettingMaxThreads,
|
|
3
|
+
SettingChar
|
|
4
|
+
)
|
|
5
|
+
|
|
6
|
+
SettingInt64 = SettingUInt64
|
|
7
|
+
|
|
8
|
+
# Seconds and milliseconds should be set as ints.
|
|
9
|
+
SettingSeconds = SettingMilliseconds = SettingUInt64
|
|
10
|
+
|
|
11
|
+
# Server cares about possible choices validation.
|
|
12
|
+
# See https://github.com/yandex/ClickHouse/blob/master/dbms/src/
|
|
13
|
+
# Interpreters/Settings.h for all choices.
|
|
14
|
+
SettingLoadBalancing = SettingTotalsMode = SettingCompressionMethod = \
|
|
15
|
+
SettingDistributedProductMode = SettingGlobalSubqueriesMethod = \
|
|
16
|
+
SettingDateTimeInputFormat = \
|
|
17
|
+
SettingURI = \
|
|
18
|
+
SettingJoinAlgorithm = \
|
|
19
|
+
SettingSpecialSort = \
|
|
20
|
+
SettingLogQueriesType = \
|
|
21
|
+
SettingDefaultDatabaseEngine = \
|
|
22
|
+
SettingString
|
|
23
|
+
|
|
24
|
+
settings = {
|
|
25
|
+
# Settings
|
|
26
|
+
'min_compress_block_size': SettingUInt64,
|
|
27
|
+
'max_compress_block_size': SettingUInt64,
|
|
28
|
+
'max_block_size': SettingUInt64,
|
|
29
|
+
'max_insert_block_size': SettingUInt64,
|
|
30
|
+
'min_insert_block_size_rows': SettingUInt64,
|
|
31
|
+
'min_insert_block_size_bytes': SettingUInt64,
|
|
32
|
+
'max_partitions_per_insert_block': SettingUInt64,
|
|
33
|
+
'max_threads': SettingMaxThreads,
|
|
34
|
+
'max_alter_threads': SettingMaxThreads,
|
|
35
|
+
'max_read_buffer_size': SettingUInt64,
|
|
36
|
+
'max_distributed_connections': SettingUInt64,
|
|
37
|
+
'max_query_size': SettingUInt64,
|
|
38
|
+
'interactive_delay': SettingUInt64,
|
|
39
|
+
'connect_timeout': SettingSeconds,
|
|
40
|
+
'connect_timeout_with_failover_ms': SettingMilliseconds,
|
|
41
|
+
'receive_timeout': SettingSeconds,
|
|
42
|
+
'send_timeout': SettingSeconds,
|
|
43
|
+
'queue_max_wait_ms': SettingMilliseconds,
|
|
44
|
+
'poll_interval': SettingUInt64,
|
|
45
|
+
'distributed_connections_pool_size': SettingUInt64,
|
|
46
|
+
'connections_with_failover_max_tries': SettingUInt64,
|
|
47
|
+
'extremes': SettingBool,
|
|
48
|
+
'use_uncompressed_cache': SettingBool,
|
|
49
|
+
'replace_running_query': SettingBool,
|
|
50
|
+
'background_pool_size': SettingUInt64,
|
|
51
|
+
'background_schedule_pool_size': SettingUInt64,
|
|
52
|
+
|
|
53
|
+
'distributed_directory_monitor_sleep_time_ms': SettingMilliseconds,
|
|
54
|
+
|
|
55
|
+
'distributed_directory_monitor_batch_inserts': SettingBool,
|
|
56
|
+
'distributed_directory_monitor_max_sleep_time_ms': SettingMilliseconds,
|
|
57
|
+
|
|
58
|
+
'optimize_move_to_prewhere': SettingBool,
|
|
59
|
+
'optimize_skip_unused_shards': SettingBool,
|
|
60
|
+
'optimize_read_in_order': SettingBool,
|
|
61
|
+
'optimize_min_equality_disjunction_chain_length': SettingUInt64,
|
|
62
|
+
'enable_optimize_predicate_expression': SettingBool,
|
|
63
|
+
|
|
64
|
+
'replication_alter_partitions_sync': SettingUInt64,
|
|
65
|
+
'replication_alter_columns_timeout': SettingUInt64,
|
|
66
|
+
|
|
67
|
+
'load_balancing': SettingLoadBalancing,
|
|
68
|
+
|
|
69
|
+
'totals_mode': SettingTotalsMode,
|
|
70
|
+
'totals_auto_threshold': SettingFloat,
|
|
71
|
+
|
|
72
|
+
'compile': SettingBool,
|
|
73
|
+
'compile_expressions': SettingBool,
|
|
74
|
+
'min_count_to_compile': SettingUInt64,
|
|
75
|
+
'group_by_two_level_threshold': SettingUInt64,
|
|
76
|
+
'group_by_two_level_threshold_bytes': SettingUInt64,
|
|
77
|
+
'distributed_aggregation_memory_efficient': SettingBool,
|
|
78
|
+
'aggregation_memory_efficient_merge_threads': SettingUInt64,
|
|
79
|
+
|
|
80
|
+
'max_parallel_replicas': SettingUInt64,
|
|
81
|
+
'parallel_replicas_count': SettingUInt64,
|
|
82
|
+
'parallel_replica_offset': SettingUInt64,
|
|
83
|
+
|
|
84
|
+
'skip_unavailable_shards': SettingBool,
|
|
85
|
+
|
|
86
|
+
'distributed_group_by_no_merge': SettingBool,
|
|
87
|
+
|
|
88
|
+
'merge_tree_min_rows_for_concurrent_read': SettingUInt64,
|
|
89
|
+
'merge_tree_min_rows_for_seek': SettingUInt64,
|
|
90
|
+
'merge_tree_coarse_index_granularity': SettingUInt64,
|
|
91
|
+
'merge_tree_max_rows_to_use_cache': SettingUInt64,
|
|
92
|
+
'merge_tree_min_bytes_for_concurrent_read': SettingUInt64,
|
|
93
|
+
'merge_tree_min_bytes_for_seek': SettingUInt64,
|
|
94
|
+
'merge_tree_max_bytes_to_use_cache': SettingUInt64,
|
|
95
|
+
'merge_tree_uniform_read_distribution': SettingBool,
|
|
96
|
+
|
|
97
|
+
'mysql_max_rows_to_insert': SettingUInt64,
|
|
98
|
+
|
|
99
|
+
'min_bytes_to_use_direct_io': SettingUInt64,
|
|
100
|
+
|
|
101
|
+
'force_index_by_date': SettingBool,
|
|
102
|
+
'force_primary_key': SettingBool,
|
|
103
|
+
|
|
104
|
+
'mark_cache_min_lifetime': SettingUInt64,
|
|
105
|
+
|
|
106
|
+
'max_streams_to_max_threads_ratio': SettingFloat,
|
|
107
|
+
|
|
108
|
+
'network_compression_method': SettingCompressionMethod,
|
|
109
|
+
|
|
110
|
+
'network_zstd_compression_level': SettingInt64,
|
|
111
|
+
|
|
112
|
+
'priority': SettingUInt64,
|
|
113
|
+
|
|
114
|
+
'log_queries': SettingBool,
|
|
115
|
+
'log_queries_cut_to_length': SettingUInt64,
|
|
116
|
+
'query_profiler_real_time_period_ns': SettingUInt64,
|
|
117
|
+
'query_profiler_cpu_time_period_ns': SettingUInt64,
|
|
118
|
+
'enable_debug_queries': SettingBool,
|
|
119
|
+
|
|
120
|
+
'distributed_product_mode': SettingDistributedProductMode,
|
|
121
|
+
|
|
122
|
+
'max_concurrent_queries_for_user': SettingUInt64,
|
|
123
|
+
|
|
124
|
+
'insert_deduplicate': SettingBool,
|
|
125
|
+
|
|
126
|
+
'insert_quorum': SettingUInt64,
|
|
127
|
+
'insert_quorum_timeout': SettingMilliseconds,
|
|
128
|
+
'select_sequential_consistency': SettingUInt64,
|
|
129
|
+
'table_function_remote_max_addresses': SettingUInt64,
|
|
130
|
+
'read_backoff_min_latency_ms': SettingMilliseconds,
|
|
131
|
+
'read_backoff_max_throughput': SettingUInt64,
|
|
132
|
+
'read_backoff_min_interval_between_events_ms': SettingMilliseconds,
|
|
133
|
+
'read_backoff_min_events': SettingUInt64,
|
|
134
|
+
|
|
135
|
+
'memory_tracker_fault_probability': SettingFloat,
|
|
136
|
+
|
|
137
|
+
'enable_http_compression': SettingBool,
|
|
138
|
+
'http_zlib_compression_level': SettingInt64,
|
|
139
|
+
|
|
140
|
+
'http_native_compression_disable_checksumming_on_decompress': SettingBool,
|
|
141
|
+
|
|
142
|
+
'count_distinct_implementation': SettingString,
|
|
143
|
+
|
|
144
|
+
'add_http_cors_header': SettingBool,
|
|
145
|
+
|
|
146
|
+
'input_format_skip_unknown_fields': SettingBool,
|
|
147
|
+
'input_format_import_nested_json': SettingBool,
|
|
148
|
+
'input_format_values_interpret_expressions': SettingBool,
|
|
149
|
+
'input_format_with_names_use_header': SettingBool,
|
|
150
|
+
'input_format_defaults_for_omitted_fields': SettingBool,
|
|
151
|
+
'input_format_null_as_default': SettingBool,
|
|
152
|
+
'input_format_values_deduce_templates_of_expressions': SettingBool,
|
|
153
|
+
'input_format_values_accurate_types_of_literals': SettingBool,
|
|
154
|
+
'input_format_allow_errors_num': SettingUInt64,
|
|
155
|
+
'input_format_allow_errors_ratio': SettingFloat,
|
|
156
|
+
'input_format_csv_unquoted_null_literal_as_null': SettingBool,
|
|
157
|
+
|
|
158
|
+
'output_format_write_statistics': SettingBool,
|
|
159
|
+
'output_format_json_quote_64bit_integers': SettingBool,
|
|
160
|
+
'output_format_json_quote_denormals': SettingBool,
|
|
161
|
+
'output_format_json_escape_forward_slashes': SettingBool,
|
|
162
|
+
'output_format_pretty_max_rows': SettingUInt64,
|
|
163
|
+
'output_format_pretty_max_column_pad_width': SettingUInt64,
|
|
164
|
+
'output_format_pretty_color': SettingBool,
|
|
165
|
+
'output_format_parquet_row_group_size': SettingUInt64,
|
|
166
|
+
|
|
167
|
+
'use_client_time_zone': SettingBool,
|
|
168
|
+
|
|
169
|
+
'send_progress_in_http_headers': SettingBool,
|
|
170
|
+
|
|
171
|
+
'http_headers_progress_interval_ms': SettingUInt64,
|
|
172
|
+
|
|
173
|
+
'fsync_metadata': SettingBool,
|
|
174
|
+
|
|
175
|
+
'join_use_nulls': SettingBool,
|
|
176
|
+
'join_default_strictness': SettingString,
|
|
177
|
+
'preferred_block_size_bytes': SettingUInt64,
|
|
178
|
+
|
|
179
|
+
'max_replica_delay_for_distributed_queries': SettingUInt64,
|
|
180
|
+
'fallback_to_stale_replicas_for_distributed_queries': SettingBool,
|
|
181
|
+
'preferred_max_column_in_block_size_bytes': SettingUInt64,
|
|
182
|
+
|
|
183
|
+
'insert_distributed_sync': SettingBool,
|
|
184
|
+
'insert_distributed_timeout': SettingUInt64,
|
|
185
|
+
'distributed_ddl_task_timeout': SettingInt64,
|
|
186
|
+
'stream_flush_interval_ms': SettingMilliseconds,
|
|
187
|
+
'format_schema': SettingString,
|
|
188
|
+
'insert_allow_materialized_columns': SettingBool,
|
|
189
|
+
'http_connection_timeout': SettingSeconds,
|
|
190
|
+
'http_send_timeout': SettingSeconds,
|
|
191
|
+
'http_receive_timeout': SettingSeconds,
|
|
192
|
+
'optimize_throw_if_noop': SettingBool,
|
|
193
|
+
'use_index_for_in_with_subqueries': SettingBool,
|
|
194
|
+
'empty_result_for_aggregation_by_empty_set': SettingBool,
|
|
195
|
+
'allow_distributed_ddl': SettingBool,
|
|
196
|
+
'odbc_max_field_size': SettingUInt64,
|
|
197
|
+
|
|
198
|
+
# Limits
|
|
199
|
+
'max_rows_to_read': SettingUInt64,
|
|
200
|
+
'max_bytes_to_read': SettingUInt64,
|
|
201
|
+
'read_overflow_mode': SettingString,
|
|
202
|
+
|
|
203
|
+
'max_rows_to_group_by': SettingUInt64,
|
|
204
|
+
'group_by_overflow_mode': SettingString,
|
|
205
|
+
'max_bytes_before_external_group_by': SettingUInt64,
|
|
206
|
+
|
|
207
|
+
'max_rows_to_sort': SettingUInt64,
|
|
208
|
+
'max_bytes_to_sort': SettingUInt64,
|
|
209
|
+
'sort_overflow_mode': SettingString,
|
|
210
|
+
'max_bytes_before_external_sort': SettingUInt64,
|
|
211
|
+
'max_bytes_before_remerge_sort': SettingUInt64,
|
|
212
|
+
'max_result_rows': SettingUInt64,
|
|
213
|
+
'max_result_bytes': SettingUInt64,
|
|
214
|
+
'result_overflow_mode': SettingString,
|
|
215
|
+
|
|
216
|
+
'max_execution_time': SettingSeconds,
|
|
217
|
+
'timeout_overflow_mode': SettingString,
|
|
218
|
+
|
|
219
|
+
'min_execution_speed': SettingUInt64,
|
|
220
|
+
'timeout_before_checking_execution_speed': SettingSeconds,
|
|
221
|
+
|
|
222
|
+
'max_columns_to_read': SettingUInt64,
|
|
223
|
+
'max_temporary_columns': SettingUInt64,
|
|
224
|
+
'max_temporary_non_const_columns': SettingUInt64,
|
|
225
|
+
|
|
226
|
+
'max_subquery_depth': SettingUInt64,
|
|
227
|
+
'max_pipeline_depth': SettingUInt64,
|
|
228
|
+
'max_ast_depth': SettingUInt64,
|
|
229
|
+
'max_ast_elements': SettingUInt64,
|
|
230
|
+
'max_expanded_ast_elements': SettingUInt64,
|
|
231
|
+
|
|
232
|
+
'readonly': SettingUInt64,
|
|
233
|
+
|
|
234
|
+
'max_rows_in_set': SettingUInt64,
|
|
235
|
+
'max_bytes_in_set': SettingUInt64,
|
|
236
|
+
'set_overflow_mode': SettingString,
|
|
237
|
+
|
|
238
|
+
'max_rows_in_join': SettingUInt64,
|
|
239
|
+
'max_bytes_in_join': SettingUInt64,
|
|
240
|
+
'join_overflow_mode': SettingString,
|
|
241
|
+
|
|
242
|
+
'max_rows_to_transfer': SettingUInt64,
|
|
243
|
+
'max_bytes_to_transfer': SettingUInt64,
|
|
244
|
+
'transfer_overflow_mode': SettingString,
|
|
245
|
+
|
|
246
|
+
'max_rows_in_distinct': SettingUInt64,
|
|
247
|
+
'max_bytes_in_distinct': SettingUInt64,
|
|
248
|
+
'distinct_overflow_mode': SettingString,
|
|
249
|
+
|
|
250
|
+
'max_memory_usage': SettingUInt64,
|
|
251
|
+
'max_memory_usage_for_user': SettingUInt64,
|
|
252
|
+
'max_memory_usage_for_all_queries': SettingUInt64,
|
|
253
|
+
|
|
254
|
+
'max_network_bandwidth': SettingUInt64,
|
|
255
|
+
'max_network_bytes': SettingUInt64,
|
|
256
|
+
'max_network_bandwidth_for_user': SettingUInt64,
|
|
257
|
+
'max_network_bandwidth_for_all_users': SettingUInt64,
|
|
258
|
+
|
|
259
|
+
'max_streams_multiplier_for_merge_tables': SettingFloat,
|
|
260
|
+
'max_http_get_redirects': SettingUInt64,
|
|
261
|
+
'max_execution_speed': SettingUInt64,
|
|
262
|
+
'max_execution_speed_bytes': SettingUInt64,
|
|
263
|
+
|
|
264
|
+
'format_csv_delimiter': SettingChar,
|
|
265
|
+
'format_csv_allow_single_quotes': SettingBool,
|
|
266
|
+
'format_csv_allow_double_quotes': SettingBool,
|
|
267
|
+
|
|
268
|
+
'format_template_resultset': SettingString,
|
|
269
|
+
'format_template_row': SettingString,
|
|
270
|
+
'format_template_rows_between_delimiter': SettingString,
|
|
271
|
+
'format_custom_escaping_rule': SettingString,
|
|
272
|
+
'format_custom_field_delimiter': SettingString,
|
|
273
|
+
'format_custom_row_before_delimiter': SettingString,
|
|
274
|
+
'format_custom_row_after_delimiter': SettingString,
|
|
275
|
+
'format_custom_row_between_delimiter': SettingString,
|
|
276
|
+
'format_custom_result_before_delimiter': SettingString,
|
|
277
|
+
'format_custom_result_after_delimiter': SettingString,
|
|
278
|
+
|
|
279
|
+
'enable_conditional_computation': SettingUInt64,
|
|
280
|
+
|
|
281
|
+
'date_time_input_format': SettingDateTimeInputFormat,
|
|
282
|
+
'log_profile_events': SettingBool,
|
|
283
|
+
'log_query_settings': SettingBool,
|
|
284
|
+
'log_query_threads': SettingBool,
|
|
285
|
+
'send_logs_level': SettingString,
|
|
286
|
+
'low_cardinality_max_dictionary_size': SettingUInt64,
|
|
287
|
+
'low_cardinality_use_single_dictionary_for_part': SettingBool,
|
|
288
|
+
'decimal_check_overflow': SettingBool,
|
|
289
|
+
'prefer_localhost_replica': SettingBool,
|
|
290
|
+
'max_fetch_partition_retries_count': SettingUInt64,
|
|
291
|
+
'asterisk_left_columns_only': SettingBool,
|
|
292
|
+
'http_max_multipart_form_data_size': SettingUInt64,
|
|
293
|
+
'calculate_text_stack_trace': SettingBool,
|
|
294
|
+
'parallel_view_processing': SettingBool,
|
|
295
|
+
|
|
296
|
+
'allow_experimental_low_cardinality_type': SettingBool,
|
|
297
|
+
'allow_experimental_decimal_type': SettingBool,
|
|
298
|
+
'allow_suspicious_low_cardinality_types': SettingBool,
|
|
299
|
+
'allow_experimental_multiple_joins_emulation': SettingBool,
|
|
300
|
+
'allow_experimental_cross_to_join_conversion': SettingBool,
|
|
301
|
+
'allow_experimental_data_skipping_indices': SettingBool,
|
|
302
|
+
'allow_hyperscan': SettingBool,
|
|
303
|
+
'allow_simdjson': SettingBool,
|
|
304
|
+
'allow_introspection_functions': SettingBool,
|
|
305
|
+
'allow_drop_detached': SettingBool,
|
|
306
|
+
'allow_experimental_live_view': SettingBool,
|
|
307
|
+
'allow_ddl': SettingBool,
|
|
308
|
+
|
|
309
|
+
'partial_merge_join': SettingBool,
|
|
310
|
+
'partial_merge_join_optimizations': SettingBool,
|
|
311
|
+
'partial_merge_join_rows_in_right_blocks': SettingUInt64,
|
|
312
|
+
'partial_merge_join_rows_in_left_blocks': SettingFloat,
|
|
313
|
+
|
|
314
|
+
'distributed_replica_error_half_life': SettingSeconds,
|
|
315
|
+
'distributed_replica_error_cap': SettingUInt64,
|
|
316
|
+
|
|
317
|
+
'min_free_disk_space_for_temporary_data': SettingUInt64,
|
|
318
|
+
'tcp_keep_alive_timeout': SettingSeconds,
|
|
319
|
+
'connection_pool_max_wait_ms': SettingMilliseconds,
|
|
320
|
+
'kafka_max_wait_ms': SettingMilliseconds,
|
|
321
|
+
'idle_connection_timeout': SettingUInt64,
|
|
322
|
+
's3_min_upload_part_size': SettingUInt64,
|
|
323
|
+
'any_join_distinct_right_table_keys': SettingBool,
|
|
324
|
+
'join_any_take_last_row': SettingBool,
|
|
325
|
+
'stream_poll_timeout_ms': SettingMilliseconds,
|
|
326
|
+
'joined_subquery_requires_alias': SettingBool,
|
|
327
|
+
'enable_unaligned_array_join': SettingBool,
|
|
328
|
+
'low_cardinality_allow_in_native_format': SettingBool,
|
|
329
|
+
'external_table_functions_use_nulls': SettingBool,
|
|
330
|
+
'experimental_use_processors': SettingBool,
|
|
331
|
+
'check_query_single_value_result': SettingBool,
|
|
332
|
+
'live_view_heartbeat_interval': SettingSeconds,
|
|
333
|
+
'temporary_live_view_timeout': SettingSeconds,
|
|
334
|
+
'max_live_view_insert_blocks_before_refresh': SettingUInt64,
|
|
335
|
+
|
|
336
|
+
'max_insert_threads': SettingUInt64,
|
|
337
|
+
'replace_running_query_max_wait_ms': SettingMilliseconds,
|
|
338
|
+
'background_move_pool_size': SettingUInt64,
|
|
339
|
+
'min_count_to_compile_expression': SettingUInt64,
|
|
340
|
+
'force_optimize_skip_unused_shards': SettingUInt64,
|
|
341
|
+
'input_format_parallel_parsing': SettingBool,
|
|
342
|
+
'min_chunk_bytes_for_parallel_parsing': SettingUInt64,
|
|
343
|
+
'min_bytes_to_use_mmap_io': SettingUInt64,
|
|
344
|
+
'os_thread_priority': SettingInt64,
|
|
345
|
+
'input_format_tsv_empty_as_default': SettingBool,
|
|
346
|
+
'input_format_avro_schema_registry_url': SettingString,
|
|
347
|
+
'output_format_avro_codec': SettingString,
|
|
348
|
+
'output_format_avro_sync_interval': SettingUInt64,
|
|
349
|
+
'min_execution_speed_bytes': SettingUInt64,
|
|
350
|
+
'default_max_bytes_in_join': SettingUInt64,
|
|
351
|
+
'enable_optimize_predicate_expression_to_final_subquery': SettingBool,
|
|
352
|
+
'cancel_http_readonly_queries_on_client_close': SettingBool,
|
|
353
|
+
'enable_scalar_subquery_optimization': SettingBool,
|
|
354
|
+
'optimize_trivial_count_query': SettingBool,
|
|
355
|
+
'mutations_sync': SettingUInt64,
|
|
356
|
+
'optimize_if_chain_to_miltiif': SettingBool,
|
|
357
|
+
'max_parser_depth': SettingUInt64,
|
|
358
|
+
|
|
359
|
+
'max_joined_block_size_rows': SettingUInt64,
|
|
360
|
+
'connect_timeout_with_failover_secure_ms': SettingMilliseconds,
|
|
361
|
+
'parallel_distributed_insert_select': SettingBool,
|
|
362
|
+
'force_optimize_skip_unused_shards_no_nested': SettingBool,
|
|
363
|
+
'format_avro_schema_registry_url': SettingURI,
|
|
364
|
+
'output_format_tsv_crlf_end_of_line': SettingBool,
|
|
365
|
+
'join_algorithm': SettingJoinAlgorithm,
|
|
366
|
+
'memory_profiler_step': SettingUInt64,
|
|
367
|
+
'output_format_csv_crlf_end_of_line': SettingBool,
|
|
368
|
+
'allow_experimental_alter_materialized_view_structure': SettingBool,
|
|
369
|
+
'enable_early_constant_folding': SettingBool,
|
|
370
|
+
'deduplicate_blocks_in_dependent_materialized_views': SettingBool,
|
|
371
|
+
'use_compact_format_in_distributed_parts_names': SettingBool,
|
|
372
|
+
'multiple_joins_rewriter_version': SettingUInt64,
|
|
373
|
+
|
|
374
|
+
'min_insert_block_size_rows_for_materialized_views': SettingUInt64,
|
|
375
|
+
'min_insert_block_size_bytes_for_materialized_views': SettingUInt64,
|
|
376
|
+
'max_final_threads': SettingUInt64,
|
|
377
|
+
'background_buffer_flush_schedule_pool_size': SettingUInt64,
|
|
378
|
+
'background_distributed_schedule_pool_size': SettingUInt64,
|
|
379
|
+
'special_sort': SettingSpecialSort,
|
|
380
|
+
'optimize_distributed_group_by_sharding_key': SettingBool,
|
|
381
|
+
'log_queries_min_type': SettingLogQueriesType,
|
|
382
|
+
'allow_suspicious_codecs': SettingBool,
|
|
383
|
+
'metrics_perf_events_enabled': SettingBool,
|
|
384
|
+
'metrics_perf_events_list': SettingString,
|
|
385
|
+
'join_on_disk_max_files_to_merge': SettingUInt64,
|
|
386
|
+
'temporary_files_codec': SettingString,
|
|
387
|
+
'max_untracked_memory': SettingUInt64,
|
|
388
|
+
'memory_profiler_sample_probability': SettingFloat,
|
|
389
|
+
'optimize_aggregation_in_order': SettingBool,
|
|
390
|
+
'default_database_engine': SettingDefaultDatabaseEngine,
|
|
391
|
+
'allow_experimental_database_atomic': SettingBool,
|
|
392
|
+
'show_table_uuid_in_table_create_query_if_not_nil': SettingBool,
|
|
393
|
+
'optimize_arithmetic_operations_in_aggregate_functions': SettingBool,
|
|
394
|
+
'validate_polygons': SettingBool,
|
|
395
|
+
'transform_null_in': SettingBool,
|
|
396
|
+
'allow_nondeterministic_mutations': SettingBool,
|
|
397
|
+
'lock_acquire_timeout': SettingSeconds,
|
|
398
|
+
'materialize_ttl_after_modify': SettingBool,
|
|
399
|
+
'allow_experimental_geo_types': SettingBool,
|
|
400
|
+
'output_format_pretty_max_value_width': SettingUInt64,
|
|
401
|
+
'format_regexp': SettingString,
|
|
402
|
+
'format_regexp_escaping_rule': SettingString,
|
|
403
|
+
'format_regexp_skip_unmatched': SettingBool,
|
|
404
|
+
'output_format_enable_streaming': SettingBool,
|
|
405
|
+
}
|