I have a scenario where I need to delete all the duplicates from the source file.
Say I have this i/p data -->
EmpID
====
1
1
2
3
4
4
O/P Data-->
EmpID
====
2
3
Here since 1 and 4 are repeating I need to remove all the rows which have 1 or 4 as the EmpID.
I am implementing it this way -->
Here I have an Aggregator which counts the EmpIDs and then do a join on the key column EmpID.
In the next transformer I pass the rows only if count=1.
![Image](http://i190.photobucket.com/albums/z22/Minhajuddin/ds-1.jpg)
Is there a better and more elegant way to do it?
Appreciate all your time and help.
Thanks a lot.[/img]