Basic system.settings/merge_tree_settings coverage

This commit is contained in:
Azat Khuzhin 2020-03-28 16:05:53 +03:00
parent 2090925270
commit 419150d81b
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,4 @@
send_timeout 300 0 \N \N 0 SettingSeconds
replicated_max_parallel_sends 0 0 Limit parallel sends. SettingUInt64
1
1

View File

@ -0,0 +1,34 @@
select * from system.settings where name = 'send_timeout';
select * from system.merge_tree_settings order by length(description) limit 1;
with [
'SettingSeconds',
'SettingBool',
'SettingInt64',
'SettingString',
'SettingChar',
'SettingLogsLevel',
'SettingURI',
'SettingFloat',
'SettingUInt64',
'SettingMaxThreads',
'SettingMilliseconds',
'SettingJoinStrictness',
'SettingJoinAlgorithm',
'SettingOverflowMode',
'SettingTotalsMode',
'SettingLoadBalancing',
'SettingOverflowModeGroupBy',
'SettingDateTimeInputFormat',
'SettingDistributedProductMode'
] as types select hasAll(arrayDistinct(groupArray(type)), types) from system.settings;
with [
'SettingSeconds',
'SettingBool',
'SettingInt64',
'SettingString',
'SettingFloat',
'SettingUInt64',
'SettingMaxThreads'
] as types select hasAll(arrayDistinct(groupArray(type)), types) from system.merge_tree_settings;