I need to map the first 2 rows from a .txt file into a database in talend. Right now mapping csv files work, however since I don't have headers in the .txt file how can I map it.
Lets say my txt file has data as follows:
apple
banana
23321
32132321
3212
I want to take apple and banana (rows 1 and 2 ) each time and map them to the table in db. This should also be automatic, thats why im currently using filewatcher.