mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add test.
This commit is contained in:
parent
61c3735dfc
commit
7efd495c7e
@ -15,3 +15,7 @@ custom_b NULL
|
||||
custom_c UInt64_50000
|
||||
custom_d Float64_1.11
|
||||
0 UInt8
|
||||
|
||||
test String
|
||||
custom_compound.identifier.v1 \'test\'
|
||||
CREATE SETTINGS PROFILE s1_01418 SETTINGS custom_compound.identifier.v2 = 100
|
||||
|
@ -23,3 +23,12 @@ SET custom_e = 0;
|
||||
SELECT getSetting('custom_e') as v, toTypeName(v);
|
||||
|
||||
SET invalid_custom = 8; -- { serverError 115 } -- Setting is neither a builtin nor started with one of the registered prefixes for user-defined settings.
|
||||
|
||||
SELECT '';
|
||||
SET custom_compound.identifier.v1 = 'test';
|
||||
SELECT getSetting('custom_compound.identifier.v1') as v, toTypeName(v);
|
||||
SELECT name, value FROM system.settings WHERE name = 'custom_compound.identifier.v1';
|
||||
|
||||
CREATE SETTINGS PROFILE s1_01418 SETTINGS custom_compound.identifier.v2 = 100;
|
||||
SHOW CREATE SETTINGS PROFILE s1_01418;
|
||||
DROP SETTINGS PROFILE s1_01418;
|
||||
|
Loading…
Reference in New Issue
Block a user