ClickHouse/tests/queries/0_stateless/01746_executable_pool_dictionary.sql
2021-09-12 17:15:28 +03:00

18 lines
626 B
SQL

-- Tags: no-parallel
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'));