ClickHouse/tests/queries/0_stateless/00156_array_map_to_constant.sql

5 lines
174 B
MySQL
Raw Normal View History

2015-05-12 19:28:41 +00:00
SELECT arrayMap(x -> 1, [2]), 123 AS y;
SELECT arrayMap(x -> x + 1, [2]), 123 AS y;
SELECT arrayMap(x -> 1, [2, 3]), 123 AS y;
SELECT arrayMap(x -> x + 1, [2, 3]), 123 AS y;