mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
add tests
This commit is contained in:
parent
552d789aa6
commit
a2b1100a82
@ -10,3 +10,4 @@
|
|||||||
['123']
|
['123']
|
||||||
[['1212'],['sef'],['343r4']]
|
[['1212'],['sef'],['343r4']]
|
||||||
[(1,2),(1,3),(1,5)]
|
[(1,2),(1,3),(1,5)]
|
||||||
|
0
|
||||||
|
@ -19,3 +19,4 @@ DROP TABLE arrayDistinct_test;
|
|||||||
|
|
||||||
SELECT arrayDistinct([['1212'], ['sef'], ['343r4'], ['1212']]);
|
SELECT arrayDistinct([['1212'], ['sef'], ['343r4'], ['1212']]);
|
||||||
SELECT arrayDistinct([(1, 2), (1, 3), (1, 2), (1, 2), (1, 2), (1, 5)]);
|
SELECT arrayDistinct([(1, 2), (1, 3), (1, 2), (1, 2), (1, 2), (1, 5)]);
|
||||||
|
SELECT length(arrayDistinct([NULL, NULL, NULL]));
|
||||||
|
Loading…
Reference in New Issue
Block a user