ClickHouse/dbms/tests/queries/0_stateless/01020_function_array_compact.sql

10 lines
278 B
MySQL
Raw Normal View History

2019-10-17 03:38:49 +00:00
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]);