mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
10 lines
297 B
MySQL
10 lines
297 B
MySQL
|
SELECT arrayZip(['a', 'b', 'c'], ['d', 'e', 'f']);
|
||
|
|
||
|
SELECT arrayZip(['a', 'b', 'c'], ['d', 'e', 'f'], ['g', 'h', 'i']);
|
||
|
|
||
|
SELECT arrayZip(); -- { serverError 42 }
|
||
|
|
||
|
SELECT arrayZip('a', 'b', 'c'); -- { serverError 43 }
|
||
|
|
||
|
SELECT arrayZip(['a', 'b', 'c'], ['d', 'e', 'f', 'd']); -- { serverError 190 }
|