add arrayCompact test

This commit is contained in:
memo 2019-10-15 16:04:59 +08:00
parent d1fb238820
commit 8b1b7f2a5f
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
[0]
[1]
[2]
[1]
[1,2]
[1,2]
[1,2,1]
[2,1]
[1,2,3,4,5]

View File

@ -0,0 +1,9 @@
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])