You are on page 1of 5

Talend Tutorials & Scenarios Prepared by Venkat Rathnam Tekuri

Source:
CUSTID|CUSTVALUES
abc,def,xyz|123,456,789

Target:
Starting job TVR_DOBULE_EXTRAACTDELIMTED at 21:10 05/06/2021.
[statistics] connecting to socket on port 4063
[statistics] connected
.-------+-------+-------+-------+-------+-------.
| tLogRow_1 |
|=------+-------+-------+-------+-------+------=|
|column1|column2|column3|column4|column5|column6|
|=------+-------+-------+-------+-------+------=|
|abc |def |xyz |123 |456 |789 |
'-------+-------+-------+-------+-------+-------'

[statistics] disconnected

Job TVR_DOBULE_EXTRAACTDELIMTED ended at 21:10 05/06/2021. [Exit code = 0]

Procedure:

 Drop tFileInput Delimited metadata, take two tExtract DelimitedFileds Componets and
tLogRow from the Palette into the designer workspace.
 Connect the tFileInput Delimited to the by using a Row > Main link for all components with
below schema
 Double click the first tExtractDelimitedFields Component and define the properties.

 Double click 2nd tExtractDelimitedFields Component and define the properties.



 Double click the tLogRow and define the table format.

Talend - How to loop over an output from tmap


I have a requirement were I am getting min_value and max_value from
tmap. I want to loop over these 2 inputs i.e.
from min_value and max_value and insert records target table per
iteration value.

Target:
Starting job TVR_loops_TFLOWTOITERAT_TITERATEFLOW at 21:03 08/06/2021.
[statistics] connecting to socket on port 3613
[statistics] connected
.-----.
|tLogRow_1|
|=---=|
|value|
|=---=|
|10 |
|11 |
|12 |
|13 |
|14 |
|15 |
'-----'

[statistics] disconnected

Job TVR_loop

Procedure:

 Drop tRowGemerator,tFlowToIterate,tLoop,tIterateToFlow and tLogRow.


 Connect the tFileInput Delimited to the by using a Row > Main link for all components with
below schema.

 Double click the tFlowToIterate define as it is.


 Double Click the tLoop and define the properties.

 Doulbe click the tLogRow and define the table format.

 Save the job and run the job you will get desired output.

You might also like