mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
37 lines
381 B
Plaintext
37 lines
381 B
Plaintext
-- Negative tests
|
|
-- Const arrays
|
|
23
|
|
3
|
|
101
|
|
[1,2,3,4]
|
|
[4,3,2,1]
|
|
([4,3,2,1],[1,2,3,4])
|
|
([1,3,5],[2,4,6])
|
|
-- Non-const arrays
|
|
0
|
|
1
|
|
3
|
|
6
|
|
10
|
|
[]
|
|
[0]
|
|
[1,0]
|
|
[2,1,0]
|
|
[3,2,1,0]
|
|
[]
|
|
[0]
|
|
[1,0]
|
|
[1,0,2]
|
|
[3,1,0,2]
|
|
-- Bug 57458
|
|
abcdef ['c'] 3
|
|
ghijkl ['h','k'] 5
|
|
mnopqr ['n'] 2
|
|
xxx..yyy.. ['xxx','yyy'] 6
|
|
.......... [] 0
|
|
..xx..yyy. ['xx','yyy'] 7
|
|
.......... [] 0
|
|
xxx....... ['xxx'] 1
|
|
-- Bug 57816
|
|
[]
|