Redshift table is not working as two target instances in talend job(one for insert and other for update)

Highlighted
Two Stars

Redshift table is not working as two target instances in talend job(one for insert and other for update)

Hello All,

 

I have developed a simple job which loads the data from Oracle to Amazon redshift data base table. I have implemented to Insert and Update  on the target table using two flows in the job.please see below

 

Talend Job.JPG

 

I put a condition in the tmap to route the inner join matches records to update flow and join rejected  records to Insert flow.

 

Above flow is working for oracle without any issues but not for Redshift.

 

Any thoughts.?

 

Thanks,

Anil.

Highlighted
Two Stars

Re: Redshift table is not working as two target instances in talend job(one for insert and other for update)

below is the screenshot when job used target tables as Redshift tables

 

 

Talend_Redshift.JPG

Highlighted
Moderator

Re: Redshift table is not working as two target instances in talend job(one for insert and other for update)

@aannamaneni , as part of testing if you keep one redshift table ,is that job working perfectly?

 

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Highlighted
Two Stars

Re: Redshift table is not working as two target instances in talend job(one for insert and other for update)

Yes.It worked fine with one table. Another test case also worked fine too
with one table and one file as target.

Thanks,
Anil.

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