How Do I Catch Bad Rows?

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

View solution in original post


All Replies
Sixteen Stars
Sixteen 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

View solution in original post

Highlighted
Six Stars

Re: How Do I Catch Bad Rows?

Okay, very good. 

Thank you TRF

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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog