tmap (if null, do nothing)

Four Stars

tmap (if null, do nothing)

Hi

I update/insert data from hsqldb to postgresql (tmap).
I have is two teams with laptop (both with complete data (hsqldb)). Team 1 enter data in a database field and not team 2. In this case, if team 1 update/insert before team 2, team 2 will erase data of team 1 with a "null" value. Question: how can I update/insert only if data in hsqldb is not null? If null, "do nothing"...

Martin F
Community Manager

Re: tmap (if null, do nothing)

Hi
If I understand you well, you can select all the records from HSQLDB, then remove the records which are null using tFilterRow component, only get the records not null and do insert/update action on tPostgresqlOutput.
----------------------------------------------------------
Talend | Data Agility for Modern Business
Four Stars

Re: tmap (if null, do nothing)

Hi

If you take a look at the attached image, I want to send 5, 6 and 4 in Postgresql. When data is null, do nothing (don't send null or default data because there is probably already something there in postgresql).
I think I will need a tmap an filter for EACH column individually??

Martin F

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