Added a test

This commit is contained in:
Alexey Milovidov 2020-04-12 19:24:16 +03:00
parent ec4889e43e
commit 66d9ba9389
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,2 @@
1 hello 1 world world 1
2 hello 0 world 1

View File

@ -0,0 +1,17 @@
SELECT
t1.*,
t2.*,
'world',
isConstant('world')
FROM
(
SELECT
arrayJoin([1, 2]) AS k,
'hello'
) AS t1
LEFT JOIN
(
SELECT
arrayJoin([1, 3]) AS k,
'world'
) AS t2 ON t1.k = t2.k;