2020-10-30 15:12:15 +00:00
|
|
|
<test>
|
2019-07-05 12:42:20 +00:00
|
|
|
<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
|
2021-01-18 11:00:24 +00:00
|
|
|
system.numbers_mt
|
|
|
|
LIMIT 200000000
|
2019-07-05 12:42:20 +00:00
|
|
|
</fill_query>
|
|
|
|
<query>
|
|
|
|
SELECT
|
2019-07-05 12:55:47 +00:00
|
|
|
COUNT()
|
2019-07-05 12:42:20 +00:00
|
|
|
FROM
|
|
|
|
jit_test
|
2019-07-05 12:55:47 +00:00
|
|
|
WHERE
|
|
|
|
NOT ignore(a / b + c / d + e / f + g / h + i / j)
|
2019-07-05 12:42:20 +00:00
|
|
|
SETTINGS
|
|
|
|
compile_expressions = 0;
|
|
|
|
</query>
|
2021-01-18 11:00:24 +00:00
|
|
|
<query>
|
2019-07-05 12:42:20 +00:00
|
|
|
SELECT
|
2019-07-05 12:55:47 +00:00
|
|
|
COUNT()
|
2019-07-05 12:42:20 +00:00
|
|
|
FROM
|
2019-07-05 12:55:47 +00:00
|
|
|
jit_test
|
|
|
|
WHERE
|
|
|
|
NOT ignore(a / b + c / d + e / f + g / h + i / j)
|
2019-07-05 12:42:20 +00:00
|
|
|
SETTINGS
|
|
|
|
compile_expressions = 1,
|
2020-03-12 15:26:57 +00:00
|
|
|
min_count_to_compile_expression = 1
|
2019-07-05 12:42:20 +00:00
|
|
|
</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS jit_test</drop_query>
|
|
|
|
</test>
|