Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Adding columns being read to list object or hashmap

Hi there Talend Community 

 

Im new to Talend . Im reading .csv file using a tFileInputDelimited_1 . What i would like to do is add the columns being read from a file to a java.util.list or java.util.map while having the regular flow data remain the same . My objective is to validate the length of each column read .I've tried using a tSchemaComplianceCheck but no matter how i configure it each row is being sent through the reject row .I've attached an image showing what my job looks like. My last resort would be to hard code the validation check in the tJavaRow_1 by manually going if(row1.name >20){row1.name.subString(0,20);}etc .

Any input would be highly appreciated0683p000009M0aM.png 

Labels (5)
1 Reply
Anonymous
Not applicable
Author

Hello,

Could you please post your tFilterRow component setting screenshot on forum?

Best regards

Sabrina