Quick sql fix

This commit is contained in:
achulkov2 2019-12-25 19:44:33 +03:00
parent e1de174f4c
commit 93b02f3191

View File

@ -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;