One Star

[resolved] Limit tmap data

Hey!
I am new to talend and I have a complicated task (at least for me).
I have a job that gets data from an xml file and filters it to 3 other files using a tmap.
Now the problem is that I have to limit the output to those files to 5 files (they will normally get 20 000 lines)
The job it self is simple but I have no clue how to limit the out of the tmap to just 5 rows!
Thanks!
1 ACCEPTED SOLUTION

Accepted Solutions
One Star Lie
One Star

Re: [resolved] Limit tmap data

Hi,
You can use the tSampleRow component to limit your rows.

Regards,
Lie
2 REPLIES
One Star Lie
One Star

Re: [resolved] Limit tmap data

Hi,
You can use the tSampleRow component to limit your rows.

Regards,
Lie
One Star

Re: [resolved] Limit tmap data

Thanks so much Smiley Very Happy This did exactly what I wanted!