ClickHouse/dbms/tests/queries/0_stateless/01020_function_array_compact.sql
2019-10-17 11:38:49 +08:00

10 lines
278 B
SQL

select arrayCompact([0]);
select arrayCompact([1]);
select arrayCompact([2]);
select arrayCompact([1,1]);
select arrayCompact([1,2]);
select arrayCompact([1,1,2]);
select arrayCompact([1,2,1]);
select arrayCompact([2,1,1]);
select arrayCompact([1,2,2,3,3,3,4,4,4,4,5,5,5,5,5]);