mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +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 }
|