Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to reject duplicate entries for key primary and allow to insert other records?

Hello,

I'm trying to load from multiple .CSV files into a MySQL source database. Below I'm attaching a sample snip of the data consisting of 7 columns:

0683p000009M9JT.png

 

Each record represents either a completed Job or Service order. I have four columns combined to be one primary key i.e 'JobID '+ 'Type' + 'Franchisee' + 'RoyaltyPostDate'.

 

When I'm trying to execute the job it hangs in the middle as duplicate entries are available. If seen in the screenshot 4th,5th and 6th row is the same job repeated thrice as they have different 'Installdate'. \

 

So, when I'm executing I'd like to load only one rows(i.e 4th record) and reject 5th,6th record and resume loading data again from 7th record. 

 

Is there any possible way to do this. Any help would be appreciated.

 

Thank you.

 

 

 

 

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

using tUinqRow has solved my problem.

Thanks

View solution in original post

1 Reply
Anonymous
Not applicable
Author

using tUinqRow has solved my problem.

Thanks