tmap (if null, do nothing)

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