How Do I Catch Bad Rows?

Six Stars

How Do I Catch Bad Rows?

Hi, 

 

I'm using a tMap component with a row that is defined by an expression. Does anyone know how I can catch rows that do not work in the expression? 

For example, I'm getting a java.lang.ArrayIndexOutOfBoundsException but I don't know the values that are causing this problem.

 

In Microsoft's SSIS you can just select an "error" output and redirect it to a spot where you can read it. You don't have to know ahead of time what the error will be, you can just redirect all errors. Does Talend have something similar?

 

Thanks,

Croix


Accepted Solutions
Highlighted
Fifteen Stars TRF
Fifteen Stars

Re: How Do I Catch Bad Rows?

You can only catch rows not matching filter or inner joins in tMap.
Exception cat be catched using tLogCatcher but not filtered and concerned rows redirected to a specific flow.
You have to consider java.lang.ArrayIndexOutOfBoundsException as a bug you have to correct or, if it is due to special data configurations, you must identify which configurations and manage these cases in the job.

TRF

All Replies
Highlighted
Fifteen Stars TRF
Fifteen Stars

Re: How Do I Catch Bad Rows?

You can only catch rows not matching filter or inner joins in tMap.
Exception cat be catched using tLogCatcher but not filtered and concerned rows redirected to a specific flow.
You have to consider java.lang.ArrayIndexOutOfBoundsException as a bug you have to correct or, if it is due to special data configurations, you must identify which configurations and manage these cases in the job.

TRF
Six Stars

Re: How Do I Catch Bad Rows?

Okay, very good. 

Thank you TRF

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download