Forum Discussion
6 Replies
- vineeshaEmployee
Hi, unique snap eliminates duplicate documents in a document stream, such as duplicate rows.
use unique snap before mapper and let me know if you still have any issues.- mtran21New Contributor III
My goal is to keep 1 record from each duplicate pair like this
So using Unique snap, will it remove the entire duplicate pair?
- vineeshaEmployee
it removes duplicates and retains one record from the duplicate rows.
- mtran21New Contributor III
I see that but the thing is the unique snap only remove duplicate when both rows are exact the same.
In my case, I only have column ID is duplicated. The other columns are not the same.- vineeshaEmployee
okay, then you can use group by snap to group by ID and map required fields. attaching the sample pipeline and the data.
readCsv_2021_01_19.slp (7.6 KB)