提交 1624835a 编写于 作者: A Alexey Milovidov

Added test [#METR-25109].

上级 f16eaa99
1
2
3
1
1
1
1 4
2 5
3 6
1
2
3
1 [4,5,6]
2 [4,5,6]
3 [4,5,6]
1 4 [1,2,3] [4,5,6]
2 5 [1,2,3] [4,5,6]
3 6 [1,2,3] [4,5,6]
DROP TABLE IF EXISTS test.nested;
CREATE TABLE test.nested (nest Nested(x UInt8, y UInt8)) ENGINE = Memory;
INSERT INTO test.nested VALUES ([1, 2, 3], [4, 5, 6]);
SELECT nx FROM test.nested ARRAY JOIN nest.x AS nx, nest.y AS ny WHERE notEmpty(nest.y);
SELECT 1 FROM test.nested ARRAY JOIN nest.x AS nx, nest.y AS ny WHERE notEmpty(nest.y);
SELECT nx, ny FROM test.nested ARRAY JOIN nest.x AS nx, nest.y AS ny WHERE notEmpty(nest.y);
SELECT nx FROM test.nested ARRAY JOIN nest.x AS nx, nest.y AS ny WHERE notEmpty(nest.x);
SELECT nx, nest.y FROM test.nested ARRAY JOIN nest.x AS nx, nest.y AS ny;
SELECT nx, ny, nest.x, nest.y FROM test.nested ARRAY JOIN nest.x AS nx, nest.y AS ny;
DROP TABLE test.nested;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册