ClickHouse/tests/queries/0_stateless/01534_lambda_array_join.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
710 B
MySQL
Raw Normal View History

2020-10-28 00:13:59 +00:00
SELECT arrayMap(x -> concat(x, concat(arrayJoin([1]), x, NULL), ''), [1]);
SELECT arrayMap(x -> arrayJoin([1]), [1, 2]);
SELECT
arrayJoin(arrayMap(x -> reinterpretAsUInt8(substring(randomString(range(randomString(1048577), NULL), arrayJoin(arrayMap(x -> reinterpretAsUInt8(substring(randomString(range(NULL), 65537), 255)), range(1))), substring(randomString(NULL), x + 7), '257'), 1025)), range(7))) AS byte,
count() AS c
FROM numbers(10)
GROUP BY
2022-01-09 07:50:42 +00:00
arrayMap(x -> reinterpretAsUInt8(substring(randomString(randomString(range(randomString(255), NULL)), NULL), NULL)), range(3)),
2020-10-28 00:13:59 +00:00
randomString(range(randomString(1048577), NULL), NULL),
byte
ORDER BY byte ASC;