using tKill when 0 rows returned.

One Star

using tKill when 0 rows returned.

My request is very similar to the following post.

http://talendforge.org/forum/viewtopic.php?id=9237

Basically, there is a tOracleInput -> Main -> tMap -> Main into multiple tOracleOutput components (doing a truncate first, then insert).

The problem is at times the tOracleInput returns 0 rows, which propogates those 0 rows through the tMap -> multiple tOracleOutput components.

I am looking for a way to test if the tOracleInput is 0 rows, then kill the job (do NOT allow it to get to the tMap or the tOracleOutput).

Attached is my logic, which doesn't work. I need a way to interject/use the tKill BEFORE the tOracleOutput components are called if there is a row count of 0.

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

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