tELTPostgresOutput and Update option

Highlighted
One Star

tELTPostgresOutput and Update option

Hi
I am baffled what to write in "WHERE clauses" textbox to make Update happen. Is there a clear sample how to use it exactly - I try to write there sourcetablenamealias.primary_key=targetable.primary_key (like it is in ELTmap) but it wont resolve
I have both source and target defined with the same primary key but ELT component does not seem to use them to update like ETL component does (when I leave "WHERE clauses" textbox empty I get an error that more than one match found for update so I assume i does not actually use it since my primary key is autogenerated unique sequence.
Regards 
Kristjan
Moderator

Re: tELTPostgresOutput and Update option

Hi,
Here is grammar of update sql in postgresql:https://www.postgresql.org/docs/8.1/static/sql-update.html
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 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