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.
Could you please post your current job design screenshots into forum which will be helpful for us to understand your job requirement?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables