ClickHouse/tests/queries/0_stateless/01746_executable_pool_dictionary.sql
2021-03-05 13:17:46 +03:00

16 lines
604 B
SQL

SELECT 'executable_pool_simple';
SELECT dictGet('executable_pool_simple', 'a', toUInt64(1));
SELECT dictGet('executable_pool_simple', 'b', toUInt64(1));
SELECT dictGet('executable_pool_simple', 'a', toUInt64(2));
SELECT dictGet('executable_pool_simple', 'b', toUInt64(2));
SELECT 'executable_pool_complex';
SELECT dictGet('executable_pool_complex', 'a', ('First_1', 'Second_1'));
SELECT dictGet('executable_pool_complex', 'b', ('First_1', 'Second_1'));
SELECT dictGet('executable_pool_complex', 'a', ('First_2', 'Second_2'));
SELECT dictGet('executable_pool_complex', 'b', ('First_2', 'Second_2'));