mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
dbms: added tests [#METR-15418].
This commit is contained in:
parent
57a91256a2
commit
aa785f3481
40
dbms/tests/queries/0_stateless/00203_full_join.reference
Normal file
40
dbms/tests/queries/0_stateless/00203_full_join.reference
Normal file
@ -0,0 +1,40 @@
|
||||
1 Hello []
|
||||
2 Hello []
|
||||
3 Hello [0,1,2]
|
||||
4 [0,1,2,3]
|
||||
5 [0,1,2,3,4]
|
||||
1 Hello
|
||||
2 Hello
|
||||
3 Hello
|
||||
4
|
||||
5
|
||||
1 []
|
||||
2 []
|
||||
3 [0,1,2]
|
||||
4 [0,1,2,3]
|
||||
5 [0,1,2,3,4]
|
||||
Hello []
|
||||
Hello []
|
||||
Hello [0,1,2]
|
||||
[0,1,2,3]
|
||||
[0,1,2,3,4]
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
3 Hello [0,1,2]
|
||||
4 [0,1,2,3]
|
||||
5 [0,1,2,3,4]
|
||||
3 Hello
|
||||
4
|
||||
5
|
||||
3 [0,1,2]
|
||||
4 [0,1,2,3]
|
||||
5 [0,1,2,3,4]
|
||||
Hello [0,1,2]
|
||||
[0,1,2,3]
|
||||
[0,1,2,3,4]
|
||||
3
|
||||
4
|
||||
5
|
11
dbms/tests/queries/0_stateless/00203_full_join.sql
Normal file
11
dbms/tests/queries/0_stateless/00203_full_join.sql
Normal file
@ -0,0 +1,11 @@
|
||||
SELECT k, x, y FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY FULL JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
SELECT k, x FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY FULL JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
SELECT k, y FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY FULL JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
SELECT x, y FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY FULL JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
SELECT k FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY FULL JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
|
||||
SELECT k, x, y FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY RIGHT JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
SELECT k, x FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY RIGHT JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
SELECT k, y FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY RIGHT JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
SELECT x, y FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY RIGHT JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
||||
SELECT k FROM (SELECT arrayJoin([1, 2, 3]) AS k, 'Hello' AS x) ANY RIGHT JOIN (SELECT range(k) AS y, arrayJoin([3, 4, 5]) AS k) USING k WHERE k < 10 ORDER BY k;
|
Loading…
Reference in New Issue
Block a user