ClickHouse/tests/queries/0_stateless/00904_array_with_constant_2.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

5 lines
253 B
SQL

SELECT arrayWithConstant(3, number) FROM numbers(10);
SELECT arrayWithConstant(number, 'Hello') FROM numbers(10);
SELECT arrayWithConstant(number % 3, number % 2 ? 'Hello' : NULL) FROM numbers(10);
SELECT arrayWithConstant(number, []) FROM numbers(10);