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

36 lines
808 B
MySQL
Raw Normal View History

2024-07-02 12:15:59 +00:00
-- Tags: no-object-storage
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;