I have a input file with 10 columns and a simple tmap which process the 10 columns and send it to tSampleRow where i hardcoded and to output file. It works fine.
Now i need to change the value of tSampleRow dynamically ( fetch value from database and set in context variable) and use the context variable in tSampleRow.
2. ChildJob ( for loading context variable ) which works fine
Can you help me how to give the value in tSampleRow and What should i assign in tRunJob Context column.
Child Job works fine :
Starting job DatabaseJob at 15:32 03/04/2018.
[statistics] connecting to socket on port 3705
tContextLoad_4 set key "days" with value "monday"
tContextLoad_4 set key "rows" with value "5"
Job DatabaseJob ended at 15:32 03/04/2018. [exit code=0]
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema