Minor changes to small tests

This commit is contained in:
Alexander Kazakov 2020-02-28 16:12:43 +03:00
parent c32b62ae91
commit de85a880ac

View File

@ -17,11 +17,10 @@
<max_threads>1</max_threads>
</settings>
<create_query>CREATE DATABASE IF NOT EXISTS test_logical_functions</create_query>
<!-- We have to use Memory table engine for very fast operations (to avoid the slow code that materializes the data),
so that the weight of their execution time keeps high and performance test results make sense
-->
<create_query>CREATE DATABASE IF NOT EXISTS test_logical_functions</create_query>
<create_query>CREATE TABLE test_logical_functions._2_0_UInt8 (x1 UInt8, x2 UInt8) ENGINE = Memory</create_query>
<create_query>CREATE TABLE test_logical_functions._2_1_UInt8 (x1 UInt8, x2 UInt8) ENGINE = Memory</create_query>
@ -42,13 +41,13 @@
<query>SELECT count() FROM (SELECT toNullable(materialize(1)) AS x1, toNullable(materialize(1)) AS x2 FROM numbers(200000000)) WHERE NOT ignore(xor(x1,x2))</query>
<!-- Check with bigger types: UInt16, UInt32, UInt64, Float64 -->
<query>SELECT count() FROM (SELECT materialize(256) AS x1, materialize(65536) AS x2 FROM numbers(200000000)) WHERE NOT ignore(and(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(65536) AS x1, materialize(4294967296) AS x2 FROM numbers(200000000)) WHERE NOT ignore(and(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(4294967296) AS x1, materialize(0.1) AS x2 FROM numbers(200000000)) WHERE NOT ignore(and(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(256) AS x1, materialize(65536) AS x2 FROM numbers(200000000)) WHERE NOT ignore(or(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(65536) AS x1, materialize(4294967296) AS x2 FROM numbers(200000000)) WHERE NOT ignore(or(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(4294967296) AS x1, materialize(0.1) AS x2 FROM numbers(200000000)) WHERE NOT ignore(or(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(4294967296) AS x1, materialize(4294967296) AS x2 FROM numbers(200000000)) WHERE NOT ignore(xor(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(toUInt16(1)) AS x1, materialize(toUInt32(1)) AS x2 FROM numbers(200000000)) WHERE NOT ignore(and(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(toUInt32(1)) AS x1, materialize(toUInt64(1)) AS x2 FROM numbers(200000000)) WHERE NOT ignore(and(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(toUInt64(1)) AS x1, materialize(0.1) AS x2 FROM numbers(200000000)) WHERE NOT ignore(and(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(toUInt16(1)) AS x1, materialize(toUInt32(1)) AS x2 FROM numbers(200000000)) WHERE NOT ignore(or(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(toUInt32(1)) AS x1, materialize(toUInt64(1)) AS x2 FROM numbers(200000000)) WHERE NOT ignore(or(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(toUInt64(1)) AS x1, materialize(0.1) AS x2 FROM numbers(200000000)) WHERE NOT ignore(or(x1,x2))</query>
<query>SELECT count() FROM (SELECT materialize(toUInt64(1)) AS x1, materialize(toUInt64(1)) AS x2 FROM numbers(200000000)) WHERE NOT ignore(xor(x1,x2))</query>
<drop_query>DROP TABLE test_logical_functions._2_0_UInt8</drop_query>
<drop_query>DROP TABLE test_logical_functions._2_1_UInt8</drop_query>