ClickHouse/dbms/tests/queries/0_stateless/00780_unaligned_array_join.reference
Amos Bird 86f462acff Support unaligned array join
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.
2018-12-12 22:08:28 +08:00

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