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

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch 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