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

What’s New for Talend Spring ’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

Downloads and Trials

Test drive Talend's enterprise products.

Downloads