I have a batch job which currently loads data from a list of files into a MySQL table. I'm trying to work out how to use tfileproperties to obtain the filename and attach it as an extra column to the exiting dataset via tmap?
Below is my current job which works. But not sure where to add in tfileproperties?
You can get tFileProperties through iteration of tFileList and use the CURRENT_FILE globalMap value.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Read about some useful Context Variable ideas