Split file into more files in talend

I am looking for a way to split the execution of a job in a talent studio according to the actual file line. I would like to process lines of files, starting with "DEBUG", in one branch of the task and in other lines in another branch of the tasks. Is it possible?

+3
source share
4 answers

To do this, use the tMap component. Your work will look like this:

   t*Input--row-->tMap--out1--->tFileOutput*

                      --out2--->tFileOutput*

In the tMap component, you have input on the left and output on the right. In the output table, select "Activate Expression Filter" and use the text box to define your filter. Only lines matching this filter will be deduced from this connection. You can have as many output tables and filters as you need.

+4

tMap , , tMap .

tjavaflex :

, ", , . . .

+2

, tExctractRegeFields - . ( ) , . Row > Reject , .

+1

We can do this using tfileoutputdelimitedand tfileinputdelimited. We have one option in tfileoutputdelimitedthe advanced settings and the ability to check drop-down files in multiple files.

enter image description here

0
source

All Articles