mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
86f462acff
For left ARRAY JOIN, expand to the greatest size. If all sizes are zero, resize to one which is the same as the old behavior, i.e. emptyArrayToSingle For non-left ARRAY JOIN, expand to the greatest size but keep empty if all sizes are zero.
25 lines
342 B
Plaintext
25 lines
342 B
Plaintext
1 [0] [0] 0 0
|
|
2 [] [0,1] 0 0
|
|
2 [] [0,1] 0 1
|
|
3 [0] [] 0 0
|
|
4 [] [0] 0 0
|
|
5 [0] [0,1] 0 0
|
|
5 [0] [0,1] 0 1
|
|
7 [0] [0] 0 0
|
|
8 [] [0,1] 0 0
|
|
8 [] [0,1] 0 1
|
|
9 [0] [] 0 0
|
|
0 [] [] 0 0
|
|
1 [0] [0] 0 0
|
|
2 [] [0,1] 0 0
|
|
2 [] [0,1] 0 1
|
|
3 [0] [] 0 0
|
|
4 [] [0] 0 0
|
|
5 [0] [0,1] 0 0
|
|
5 [0] [0,1] 0 1
|
|
6 [] [] 0 0
|
|
7 [0] [0] 0 0
|
|
8 [] [0,1] 0 0
|
|
8 [] [0,1] 0 1
|
|
9 [0] [] 0 0
|