[resolved] Removing duplicate values

Highlighted
One Star

[resolved] Removing duplicate values

Hi,
I am really new to talend and i wanted to know how to exclude all duplicate values.
eg. Input is from a CSV file and my key is combination of ColumnA+'-'+ColumnB
Srno ColumnA ColumnB
1       P           Q
2       P           Q
3       R           S

I want the output as
Srno ColumnA ColumnB
3       R           S

i tried tUniqRow but it gives one of the matching record.
Kindly let me know if any solutions
Thanks Smiley Happy


Accepted Solutions
One Star

Re: [resolved] Removing duplicate values

Hi,
I found out a solution for it.
the job is as follows
tFileInput --> tAggregrateRow --> tMap -->tfileOutput
I used group for ColumnA and ColumnB and others as list and in my tMap i used expression where count == 1.

View solution in original post


All Replies
One Star

Re: [resolved] Removing duplicate values

Hi,
I found out a solution for it.
the job is as follows
tFileInput --> tAggregrateRow --> tMap -->tfileOutput
I used group for ColumnA and ColumnB and others as list and in my tMap i used expression where count == 1.

View solution in original post

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now