Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Check the result set of the tmap expression on other column before inserting it

 

 

My question is that, how can I check if the result set of that expression above is exists on other column on the same table? And if exists I will keep it on the right destination column, but if not I will insert it on other column instead?

 

 

 

my component set-up is:

 

tfilelist -> tfileinputdelimited -> tmap -> tmysqloutput(1&2)   

 

1&2 that meanss that I'm populating the data from source to 2 destination table, one is for delta and one is for full. Only on initial or first run, then after this I have another the same component set-up, but only tmysqloutput2 in the output as that is for delta. Hoing someone can help me out on this?

Labels (1)
  • v7.x

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

This is already fixed by using lookup and left join then compare the integer before UPDATING values.

View solution in original post

5 Replies
manodwhb
Champion II
Champion II

@Moe,i will suggest you read the source data and load to memory by using tHashoutput and you can read the dame data multiple time do the comparison by using tHashInput.

Anonymous
Not applicable
Author

@manodwhb I will try to consider your suggestion and if woks, then I'll accept the answer/solution.

Anonymous
Not applicable
Author

I'm thinking if this will work on my set-up as I need to update:

 

https://community.talend.com/t5/Design-and-Development/resolved-Update-field-values-based-on-Update-...

manodwhb
Champion II
Champion II

@Moe,check ,if it be help in your case.

Anonymous
Not applicable
Author

This is already fixed by using lookup and left join then compare the integer before UPDATING values.