Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Croix
Creator
Creator

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

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

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.

View solution in original post

2 Replies
TRF
Champion II
Champion II

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.
Croix
Creator
Creator
Author

Okay, very good. 

Thank you TRF