2023-08-07 03:15:20 +00:00
|
|
|
<test>
|
|
|
|
<settings>
|
|
|
|
<max_threads>1</max_threads>
|
|
|
|
</settings>
|
|
|
|
|
|
|
|
<create_query>CREATE TABLE keys (key UInt64) ENGINE = MergeTree ORDER BY key;</create_query>
|
|
|
|
<create_query>CREATE TABLE dict (key UInt64, value1 UInt64, value2 Float64, value3 String,
|
|
|
|
value4 String, value5 String, value6 String, value7 String, value8 String, value9 String,
|
|
|
|
value10 String) ENGINE = Join(ANY, LEFT, key);</create_query>
|
|
|
|
|
|
|
|
<fill_query>INSERT INTO keys SELECT rand() FROM numbers(10000000);</fill_query>
|
|
|
|
<fill_query>INSERT INTO dict SELECT rand(), rand()%1000, rand()*0.0001, toString(number),
|
|
|
|
toString(number), toString(number), toString(number), toString(number), toString(number),
|
|
|
|
toString(number), toString(number) FROM numbers(1000000);</fill_query>
|
|
|
|
|
2023-08-07 06:25:46 +00:00
|
|
|
<query>SELECT keys.key, value1 FROM keys ANY LEFT JOIN dict AS d ON (keys.key = d.key) FORMAT Null;</query>
|
|
|
|
<query>SELECT keys.key, value1 FROM keys ANY LEFT JOIN dict AS d ON (keys.key = d.key) FORMAT Null SETTINGS
|
2023-08-07 03:15:20 +00:00
|
|
|
allow_experimental_analyzer=1</query>
|
|
|
|
</test>
|