ClickHouse/tests/queries/0_stateless/01045_array_zip.sql

10 lines
297 B
MySQL
Raw Normal View History

2019-12-11 14:15:43 +00:00
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 }