Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
229 views
in Technique[技术] by (71.8m points)

TALEND : while moving employee data from source to target I want to remove duplicates and move them to separate file

TALEND : while moving employee data from source to target I want to remove duplicates and move them to separate file

question from:https://stackoverflow.com/questions/65883149/talend-while-moving-employee-data-from-source-to-target-i-want-to-remove-dupli

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Exactly if the full record is same its a duplicate

like there could be 2 scenarios

  1. duplicate records in the source file
  2. Duplicate records in the source file when compared with existing table.

duplicate in source file : if there are 3 duplicate records catch the first record and move it to target and other 2 move them to another file (may be u shd add a surrogate key to identify them uniquely)

duplicate rec compared with table data : compare each rec with table data and if its duplicate move it to another file


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...