Closed saig0 closed 1 year ago
Workaround
We could use the following expression to find the duplicate values:
distinct values(list[count(index of(list, item)) > 1])
@aleksander-dytko please prioritize this feature in the context of this support case.
ZPA triage:
@saig0 since this is a support case, I think it makes sense to add "support" label so we don't lose track of it.
Is your feature request related to a problem? Please describe. Currently, we don't have a direct function that can return us all the duplicates from a list. We managed to use a workaround with the use of list expressions, functions, and control flows. This functionality would be the exact opposite of distinct values().
Describe the solution you'd like Add a new function to find duplicate values in a list.
Signature:
Examples:
Related issues