2018-04-03 19:30:39 +00:00
|
|
|
all
|
|
|
|
1 [1]
|
|
|
|
2 [2]
|
|
|
|
key, arrayJoin(arr) in (1, 1)
|
|
|
|
1 1
|
|
|
|
key, arrayJoin(arr) in ((1, 1), (2, 2))
|
|
|
|
1 1
|
|
|
|
2 2
|
|
|
|
(key, left array join arr) in (1, 1)
|
|
|
|
1
|
|
|
|
(key, left array join arr) in ((1, 1), (2, 2))
|
|
|
|
1
|
|
|
|
2
|
2018-04-04 19:36:22 +00:00
|
|
|
all
|
|
|
|
1 [1]
|
|
|
|
2 [2]
|
|
|
|
key, arrayJoin(n.x) in (1, 1)
|
|
|
|
1 1
|
|
|
|
key, arrayJoin(n.x) in ((1, 1), (2, 2))
|
|
|
|
1 1
|
|
|
|
2 2
|
|
|
|
(key, left array join n.x) in (1, 1)
|
|
|
|
1
|
|
|
|
(key, left array join n.x) in ((1, 1), (2, 2))
|
|
|
|
1
|
|
|
|
2
|
|
|
|
max(key) from tab where (key, left array join n.x) in (1, 1)
|
|
|
|
1
|
|
|
|
1
|
|
|
|
max(key) from tab where (key, left array join n.x) in ((1, 1), (2, 2))
|
|
|
|
2
|
|
|
|
2
|
|
|
|
max(key) from tab any left join (select key, arrayJoin(n.x) as val from tab) using key where (key, val) in (1, 1)
|
|
|
|
1
|
|
|
|
max(key) from tab any left join (select key, arrayJoin(n.x) as val from tab) using key where (key, val) in ((1, 1), (2, 2))
|
|
|
|
2
|
2018-04-04 21:02:53 +00:00
|
|
|
1
|