You are not logged in.
Does anyone in this community know how to pass the filename that you're parsing as one of the columns in the main flow.
I am trying to parse about 400 csv files and would like to include an additional column in the main flow that will that will have the name of the csv file that is being processed.
All of these file sources are located in the same directory. Java.
***All of these files are going to be merged into a single MySQL table.
Last edited by jgomes (2011-11-22 17:25:28)
You may create your job like this:
The following pictures will give you more details.
Last edited by pedro (2011-11-23 04:18:14)
I know the solution works, but I have a question about why you are using a variable to put the filename in and not put the filename in the output column directly?
I thought using the variable might reduce performance, because for each row, the variable is filled isn't it?