Fixed non-deterministic test #3145

This commit is contained in:
Alexey Milovidov 2018-10-11 07:40:41 +03:00
parent 3e60a91c06
commit b8543bcd4d
4 changed files with 2 additions and 14 deletions

View File

@ -1,17 +1,11 @@
create database if not exists test;
DROP TABLE IF EXISTS test.a1;
DROP TABLE IF EXISTS test.a2;
CREATE TABLE test.a1(a UInt8, b UInt8) ENGINE=Memory;
CREATE TABLE test.a2(a UInt8, b UInt8) ENGINE=Memory;
INSERT INTO test.a1 VALUES (1, 1);
INSERT INTO test.a1 VALUES (1, 2);
INSERT INTO test.a1 VALUES (2, 3);
INSERT INTO test.a2 VALUES (1, 2);
INSERT INTO test.a2 VALUES (1, 3);
INSERT INTO test.a2 VALUES (1, 4);
INSERT INTO test.a1 VALUES (1, 1), (1, 2), (2, 3);
INSERT INTO test.a2 VALUES (1, 2), (1, 3), (1, 4);
SELECT * FROM test.a1 as a left JOIN test.a2 as b on a.a=b.a ORDER BY b SETTINGS join_default_strictness='ANY';

View File

@ -1,5 +1,3 @@
create database if not exists test;
drop table if exists test.t;
drop table if exists test.s;

View File

@ -1,5 +1,3 @@
create database if not exists test;
drop table if exists test.t;
drop table if exists test.z;

View File

@ -1,5 +1,3 @@
create database if not exists test;
drop table if exists test.t;
drop table if exists test.s;