Update not null values

Highlighted
One Star

Update not null values

Hi,

I'm having a problem with the insert or update operation.

I have a postgres input and output for people, when the people's unique id is not in the output table, inserts data, if it is.. updates.

The thing is that when some people are already in the database and for some reason some columns have null information i want to do the update but ignoring this null values

In example

If i have this

INCOMING DATA  
1
Daniel
Sotos
(null)

OUTPUT DB
1
Daniel
Soto
Pino

i want this to be the result

RESULT
1
Daniel
Sotos
Pino

Can it be done?
One Star

Re: Update not null values

Hey battou,

You can activate tMap's expression filter to check whether retreived record has null value.
Check the uploaded image.
If the Address contains Null value then only the row will be updated based on Id.

Regards,
Priya

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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Downloads and Trials

Test drive Talend's enterprise products.

Downloads