Professional Documents
Culture Documents
Learning Sutras - Row Iteration in Talend
Learning Sutras - Row Iteration in Talend
Sep. 20
In Talend, We can iterate same row ‘N’ number of times as per our requirement.
Below is the sample business use case:
Source:
ID NAME Count
100 A 4
200 B 2
300 C 5
Target:
ID Name
100 A
100 A
100 A
100 A
200 B
200 B
300 C
300 C
300 C
300 C
300 C
As per the Count column in the table, I am iterating the ID and Name Columns.
Example: For ID 100, count is 4, so the target will contain 4 rows for ID 100.
Job
TFILEINPUTDELIMIT
TFLOWTOITERATE
TJAVAFLEX