mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
8 lines
593 B
XML
8 lines
593 B
XML
<test>
|
|
<create_query>create table tab (a UInt32, b UInt32) engine = MergeTree order by (a, b)</create_query>
|
|
<fill_query>insert into tab values (1, 1)</fill_query>
|
|
<query>select a, b from tab where (a, b) in (select toUInt32(number) as x, toUInt32(sleep(0.1) + 1) from numbers_mt(16)) settings max_threads = 2, max_block_size = 4</query>
|
|
<query>select a, b from tab where (1, 1) = (select min(toUInt32(number + 1)) as x, min(toUInt32(sleep(0.1) + 1)) from numbers_mt(16)) settings max_threads = 2, max_block_size = 4</query>
|
|
<drop_query>DROP TABLE tab</drop_query>
|
|
</test>
|