ClickHouse/tests/queries/0_stateless/00178_function_replicate.sql
2021-09-12 17:15:28 +03:00

12 lines
256 B
SQL

-- Tags: replica
SELECT
number,
range(number) AS arr,
replicate(number, arr),
replicate(toString(number), arr),
replicate(range(number), arr),
replicate(arrayMap(x -> toString(x), range(number)), arr)
FROM system.numbers
LIMIT 10;