ClickHouse/tests/queries/0_stateless/01221_system_settings.sql

35 lines
781 B
SQL

select * from system.settings where name = 'send_timeout';
select * from system.merge_tree_settings order by length(description) limit 1;
with [
'Seconds',
'Bool',
'Int64',
'String',
'Char',
'LogsLevel',
'URI',
'Float',
'UInt64',
'MaxThreads',
'Milliseconds',
'JoinStrictness',
'JoinAlgorithm',
'OverflowMode',
'TotalsMode',
'LoadBalancing',
'OverflowModeGroupBy',
'DateTimeInputFormat',
'DistributedProductMode'
] as types select hasAll(arrayDistinct(groupArray(type)), types) from system.settings;
with [
'Seconds',
'Bool',
'Int64',
'String',
'Float',
'UInt64',
'MaxThreads'
] as types select hasAll(arrayDistinct(groupArray(type)), types) from system.merge_tree_settings;