2020-02-24 13:22:32 +00:00
|
|
|
<test>
|
|
|
|
<stop_conditions>
|
|
|
|
<all_of>
|
|
|
|
<iterations>10</iterations>
|
|
|
|
<min_time_not_changing_for_ms>100</min_time_not_changing_for_ms>
|
|
|
|
</all_of>
|
|
|
|
<any_of>
|
|
|
|
<iterations>100</iterations>
|
|
|
|
<total_time_ms>1000</total_time_ms>
|
|
|
|
</any_of>
|
|
|
|
</stop_conditions>
|
|
|
|
|
2020-03-12 13:06:29 +00:00
|
|
|
<settings>
|
|
|
|
<max_memory_usage>20000000000</max_memory_usage>
|
|
|
|
</settings>
|
|
|
|
|
2020-02-24 13:22:32 +00:00
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
|
|
|
<name>arg</name>
|
|
|
|
<values>
|
|
|
|
<value>u8</value>
|
|
|
|
<value>u16</value>
|
|
|
|
<value>u32</value>
|
|
|
|
<value>u64</value>
|
|
|
|
<value>i8</value>
|
|
|
|
<value>i16</value>
|
|
|
|
<value>i32</value>
|
|
|
|
<value>i64</value>
|
|
|
|
<value>f32</value>
|
|
|
|
<value>f64</value>
|
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
<substitution>
|
|
|
|
<name>op</name>
|
|
|
|
<values>
|
|
|
|
<value>plus</value>
|
|
|
|
<value>minus</value>
|
|
|
|
<value>multiply</value>
|
|
|
|
<value>divide</value>
|
|
|
|
<value>intDivOrZero</value>
|
2020-02-25 10:10:03 +00:00
|
|
|
<value>moduloOrZero</value>
|
2020-02-24 13:22:32 +00:00
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
|
|
|
<create_query>
|
|
|
|
CREATE TABLE nums
|
|
|
|
(
|
|
|
|
u8 UInt8,
|
|
|
|
u16 UInt16,
|
|
|
|
u32 UInt32,
|
|
|
|
u64 UInt64,
|
|
|
|
i8 Int8,
|
|
|
|
i16 Int16,
|
|
|
|
i32 Int32,
|
|
|
|
i64 Int64,
|
|
|
|
f32 Float32,
|
|
|
|
f64 Float64
|
|
|
|
) ENGINE = Memory;
|
|
|
|
</create_query>
|
|
|
|
|
|
|
|
<fill_query>
|
|
|
|
INSERT INTO nums
|
|
|
|
WITH cityHash64(number) AS x
|
|
|
|
SELECT
|
|
|
|
toUInt8(x),
|
|
|
|
toUInt16(x),
|
|
|
|
toUInt32(x),
|
|
|
|
toUInt64(x),
|
|
|
|
toInt8(x),
|
|
|
|
toInt16(x),
|
|
|
|
toInt32(x),
|
|
|
|
toInt64(x),
|
|
|
|
toFloat32(x),
|
|
|
|
toFloat64(x)
|
2020-03-12 17:04:06 +00:00
|
|
|
FROM numbers_mt(100000000)
|
|
|
|
;
|
2020-02-24 13:22:32 +00:00
|
|
|
</fill_query>
|
|
|
|
|
|
|
|
<query>SELECT count() FROM nums WHERE NOT ignore({op}({arg}, {arg}))</query>
|
|
|
|
|
|
|
|
<drop_query>DROP TABLE nums</drop_query>
|
|
|
|
</test>
|