Upsert on Amazon Redshift with tELTJDBCOutput

Highlighted
Four Stars

Upsert on Amazon Redshift with tELTJDBCOutput

Hi, I'm trying to perform an insert\update on redshift tables. I want to insert new rows and update the rows already present.
I need to use ELT components and I don't see anything specific for Redshift, so I'm using generic tELTJDBC components
I thougth I should join twice the source rows with the target table:
- table SRC left join table TRG on SRC.key_col = TRG.key_col where TRG.key_col is null --> the rows has to be inserted
- table SRC inner join table TRG on SRC.key_col = TRG.key_col --> the rows has to be updated
But I'm not sure how to use tELTJDBCOutput and how to set the update condition.

Thank you

 

Moderator

Re: Upsert on Amazon Redshift with tELTJDBCOutput

Hello,

Could you please post your current job design screenshots into forum which will be helpful for us to understand your job requirement?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download