mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
Fix some tests
This commit is contained in:
parent
6e41a1b5ca
commit
de90314373
@ -3,9 +3,5 @@
|
||||
7 0
|
||||
7 1
|
||||
xyzabc 2
|
||||
1 3
|
||||
1 2 0 0
|
||||
1 0 0 3
|
||||
\N 1 2 \N 0
|
||||
\N 1 0 \N 3
|
||||
2 1
|
||||
|
@ -7,13 +7,13 @@ join (select '1' as sid) as t2 on t2.sid = cast(t1.iid as String);
|
||||
select cast(7 as String), * from (select 3 "'String'");
|
||||
select cast(7 as String), * from (select number "'String'" FROM numbers(2));
|
||||
SELECT concat('xyz', 'abc'), * FROM (SELECT 2 AS "'xyz'");
|
||||
with 3 as "1" select 1, "1";
|
||||
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;
|
||||
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;
|
||||
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 }
|
||||
|
||||
-- other cases with joins and constants
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SELECT 1, * FROM (SELECT NULL AS `1`); -- { serverError 36 }
|
||||
SELECT '7', 'xyz', * FROM (SELECT NULL AS `'xyz'`); -- { serverError 36 }
|
||||
SELECT 1, * FROM (SELECT NULL AS `1`); -- { serverError 352 }
|
||||
SELECT '7', 'xyz', * FROM (SELECT NULL AS `'xyz'`); -- { serverError 352 }
|
||||
|
Loading…
Reference in New Issue
Block a user