Déduplique les lignes unies par plusieurs alias.
- Expression : DISTINCT
alias1
,alias2
, ...
Utilisation Courante
Exemple : Déduplication directe
uncollect [1,2,1,2] as a
uncollect [3,4,5,4] as b
return distinct a, b
1
2
1
3
4
5
Exemple : Multiplier et dédupliquer
uncollect [1,2,1,2] as a
uncollect [3,4,5,4] as b
with distinct a, b
return a, b
1
1
1
2
2
2
3
4
5
3
4
5