[resolved] Reverse of Right outer Join

One Star

[resolved] Reverse of Right outer Join

Hi,
I have two tables (Say A and B)
Data is flowing from A to B
A--> tMap--> B
Table A has values inserted periodically. (More data from files are added to table A periodically)
Table B has values after transformation from table A.
When running the process again after A has more values added to it. I want only (A-B) values to be processed and added to table B.
One way of achieving it can be taking a reverse of Right outer join on A and B. (How to do it?)
Is there any better way to do it?
A and B has huge data. So please avoid solution with data redundancy.

Accepted Solutions
Highlighted
Four Stars

Re: [resolved] Reverse of Right outer Join

Try following
In your job
Use A as Main
B as lookup
Use Inner join and at output enable inner join reject.. this will give all the records from A which are not in B
I hope this is what you mean >> I want only (A-B) values
Thanks
Vaibhav

View solution in original post


All Replies
Highlighted
Four Stars

Re: [resolved] Reverse of Right outer Join

Try following
In your job
Use A as Main
B as lookup
Use Inner join and at output enable inner join reject.. this will give all the records from A which are not in B
I hope this is what you mean >> I want only (A-B) values
Thanks
Vaibhav

View solution in original post

Highlighted
One Star

Re: [resolved] Reverse of Right outer Join

Thanks Vaibhav. It did the job.

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