mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 11:33:46 +00:00
22 lines
1.0 KiB
XML
22 lines
1.0 KiB
XML
<test>
|
|
<settings>
|
|
<max_threads>16</max_threads>
|
|
<max_memory_usage>10G</max_memory_usage>
|
|
</settings>
|
|
|
|
<substitutions>
|
|
<substitution>
|
|
<name>settings</name>
|
|
<values>
|
|
<value>join_algorithm='hash'</value>
|
|
<value>join_algorithm='parallel_hash'</value>
|
|
<value>join_algorithm='partial_merge', max_bytes_in_join='1G'</value>
|
|
<value>join_algorithm='grace_hash', max_bytes_in_join='100M'</value>
|
|
</values>
|
|
</substitution>
|
|
</substitutions>
|
|
|
|
<query short='numbers'>SELECT sum(n) FROM (SELECT number * 2 AS n FROM numbers_mt(10000000)) AS lhs JOIN (SELECT number * 3 AS n FROM numbers_mt(10000000)) AS rhs USING (n) SETTINGS {settings} FORMAT Null</query>
|
|
<query short='numbers_hashed'>SELECT sum(n) FROM (SELECT intHash64(number * 2) AS n FROM numbers_mt(10000000)) AS lhs JOIN (SELECT intHash64(number * 3) AS n FROM numbers_mt(10000000)) AS rhs USING (n) SETTINGS {settings} FORMAT Null</query>
|
|
</test>
|