mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
65 lines
1.4 KiB
XML
65 lines
1.4 KiB
XML
<test>
|
|
<type>loop</type>
|
|
|
|
<stop_conditions>
|
|
<any_of>
|
|
<iterations>100</iterations>
|
|
</any_of>
|
|
</stop_conditions>
|
|
|
|
<create_query>
|
|
CREATE TABLE jit_test (
|
|
a UInt64,
|
|
b UInt64,
|
|
c UInt64,
|
|
d UInt64,
|
|
e UInt64,
|
|
f UInt64,
|
|
g UInt64,
|
|
h UInt64,
|
|
i UInt64,
|
|
j UInt64
|
|
) Engine = Memory
|
|
</create_query>
|
|
|
|
<fill_query>
|
|
INSERT INTO jit_test
|
|
SELECT
|
|
number,
|
|
number,
|
|
number,
|
|
number,
|
|
number,
|
|
number,
|
|
number,
|
|
number,
|
|
number,
|
|
number
|
|
FROM
|
|
system.numbers
|
|
LIMIT 10000000
|
|
</fill_query>
|
|
<query>
|
|
SELECT
|
|
COUNT()
|
|
FROM
|
|
jit_test
|
|
WHERE
|
|
NOT ignore(a / b + c / d + e / f + g / h + i / j)
|
|
SETTINGS
|
|
compile_expressions = 0;
|
|
</query>
|
|
<query>
|
|
SELECT
|
|
COUNT()
|
|
FROM
|
|
jit_test
|
|
WHERE
|
|
NOT ignore(a / b + c / d + e / f + g / h + i / j)
|
|
SETTINGS
|
|
compile_expressions = 1,
|
|
min_count_to_compile = 1
|
|
</query>
|
|
<drop_query>DROP TABLE IF EXISTS jit_test</drop_query>
|
|
</test>
|