ClickHouse/dbms/tests/queries/0_stateless/01045_array_zip.sql
2019-12-12 00:22:14 +08:00

10 lines
297 B
SQL

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 }