ClickHouse/tests/queries/0_stateless/01221_system_settings.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

35 lines
963 B
SQL

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;