mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added a test
This commit is contained in:
parent
ad56a42cf4
commit
25e7e63207
@ -0,0 +1,40 @@
|
||||
[0,0,0]
|
||||
[1,1,1]
|
||||
[2,2,2]
|
||||
[3,3,3]
|
||||
[4,4,4]
|
||||
[5,5,5]
|
||||
[6,6,6]
|
||||
[7,7,7]
|
||||
[8,8,8]
|
||||
[9,9,9]
|
||||
[]
|
||||
['Hello']
|
||||
['Hello','Hello']
|
||||
['Hello','Hello','Hello']
|
||||
['Hello','Hello','Hello','Hello']
|
||||
['Hello','Hello','Hello','Hello','Hello']
|
||||
['Hello','Hello','Hello','Hello','Hello','Hello']
|
||||
['Hello','Hello','Hello','Hello','Hello','Hello','Hello']
|
||||
['Hello','Hello','Hello','Hello','Hello','Hello','Hello','Hello']
|
||||
['Hello','Hello','Hello','Hello','Hello','Hello','Hello','Hello','Hello']
|
||||
[]
|
||||
['Hello']
|
||||
[NULL,NULL]
|
||||
[]
|
||||
[NULL]
|
||||
['Hello','Hello']
|
||||
[]
|
||||
['Hello']
|
||||
[NULL,NULL]
|
||||
[]
|
||||
[]
|
||||
[[]]
|
||||
[[],[]]
|
||||
[[],[],[]]
|
||||
[[],[],[],[]]
|
||||
[[],[],[],[],[]]
|
||||
[[],[],[],[],[],[]]
|
||||
[[],[],[],[],[],[],[]]
|
||||
[[],[],[],[],[],[],[],[]]
|
||||
[[],[],[],[],[],[],[],[],[]]
|
@ -0,0 +1,4 @@
|
||||
SELECT arrayWithConstant(3, number) FROM numbers(10);
|
||||
SELECT arrayWithConstant(number, 'Hello') FROM numbers(10);
|
||||
SELECT arrayWithConstant(number % 3, number % 2 ? 'Hello' : NULL) FROM numbers(10);
|
||||
SELECT arrayWithConstant(number, []) FROM numbers(10);
|
Loading…
Reference in New Issue
Block a user