mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Quick sql fix
This commit is contained in:
parent
e1de174f4c
commit
93b02f3191
@ -32,7 +32,7 @@ select 'dictGet', 'test_01037.dict' as dict_name, tuple(x, y) as key,
|
|||||||
dictGet(dict_name, 'value', key) from test_01037.points;
|
dictGet(dict_name, 'value', key) from test_01037.points;
|
||||||
select 'dictGetOrDefault', 'test_01037.dict' as dict_name, tuple(x, y) as key,
|
select 'dictGetOrDefault', 'test_01037.dict' as dict_name, tuple(x, y) as key,
|
||||||
dictGetOrDefault(dict_name, 'name', key, 'www'),
|
dictGetOrDefault(dict_name, 'name', key, 'www'),
|
||||||
dictGetOrDefault(dict_name, 'value', key, 1234) from test_01037.points;
|
dictGetOrDefault(dict_name, 'value', key, toUInt64(1234)) from test_01037.points;
|
||||||
select 'dictGetOrDefault', 'test_01037.dict' as dict_name, tuple(x, y) as key,
|
select 'dictGetOrDefault', 'test_01037.dict' as dict_name, tuple(x, y) as key,
|
||||||
dictGetOrDefault(dict_name, 'name', key, def_s),
|
dictGetOrDefault(dict_name, 'name', key, def_s),
|
||||||
dictGetOrDefault(dict_name, 'value', key, def_i) from test_01037.points;
|
dictGetOrDefault(dict_name, 'value', key, def_i) from test_01037.points;
|
||||||
|
Loading…
Reference in New Issue
Block a user