ClickHouse/tests/queries/0_stateless/02718_array_fold.reference
2023-12-17 11:16:05 +00:00

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
[]