mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
6 lines
279 B
SQL
6 lines
279 B
SQL
-- Tags: replica
|
|
|
|
SELECT x, arrayJoin(x) FROM (SELECT materialize([1, NULL, 2]) AS x);
|
|
SELECT x, arrayJoin(x) FROM (SELECT materialize([(1, 2), (3, 4), (5, 6)]) AS x);
|
|
SELECT x, arrayJoin(x) FROM (SELECT materialize(arrayMap(x -> toFixedString(x, 5), ['Hello', 'world'])) AS x);
|