MV_DEDUPE
edit
Removes duplicates from a multivalued field. For example:
ROW a=["foo", "foo", "bar", "foo"] | EVAL dedupe_a = MV_DEDUPE(a)
a:keyword | dedupe_a:keyword |
---|---|
["foo", "foo", "bar", "foo"] |
["foo", "bar"] |
MV_DEDUPE
may, but won’t always, sort the values in the field.