Compare value from 2 sql result and use it

Highlighted
Five Stars

Compare value from 2 sql result and use it

Hi,

 

I've tried to compare value from 2 sql result (SELECT), i would like to have all data that are not present in the second sql result.

 

Here the schema :

image1.png  

and this is the tmap :

 

image2.PNG 

I don't understand why it doesn't work.

 

In the final logRow i have 600024 rows , but it should 2 or 3.

 

Can you please help me ?

 

thanks.

 


Accepted Solutions
Seven Stars

Re: Compare value from 2 sql result and use it

Hi,

 

you need to make a join with your 2 flows like this : 

jointMAP.PNG

 

Regards, 

Pierre

Regards,
Pierre

View solution in original post


All Replies
Seven Stars

Re: Compare value from 2 sql result and use it

Hi,

 

you need to make a join with your 2 flows like this : 

jointMAP.PNG

 

Regards, 

Pierre

Regards,
Pierre

View solution in original post

Five Stars

Re: Compare value from 2 sql result and use it

Hi,

 

thans for your response, it works. i've tried to join but not with this expression in the filter Smiley Happy

 

Regards

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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog