Fix test.

This commit is contained in:
Nikolai Kochetov 2021-08-16 19:51:04 +03:00
parent 9d0ad10a08
commit e25694e78d
2 changed files with 6 additions and 3 deletions

View File

@ -4,4 +4,7 @@
7 1
xyzabc 2
1 2 0 0
1 0 0 3
\N 1 2 \N 0
\N 1 0 \N 3
2 1

View File

@ -11,9 +11,9 @@ with 3 as "1" select 1, "1"; -- { serverError 352 }
-- https://github.com/ClickHouse/ClickHouse/issues/9953
select 1, * from (select 2 x) a left join (select 1, 3 y) b on y = x;
select 1, * from (select 2 x, 1) a right join (select 3 y) b on y = x; -- { serverError 352 }
select null, isConstant(null), * from (select 2 x) a left join (select null, 3 y) b on y = x; -- { serverError 352 }
select null, isConstant(null), * from (select 2 x, null) a right join (select 3 y) b on y = x; -- { serverError 352 }
select 1, * from (select 2 x, 1) a right join (select 3 y) b on y = x;
select null, isConstant(null), * from (select 2 x) a left join (select null, 3 y) b on y = x;
select null, isConstant(null), * from (select 2 x, null) a right join (select 3 y) b on y = x;
-- other cases with joins and constants