How can I merge two files in Pentaho Data Integration (Kettle)

japmelian picture japmelian · Apr 7, 2014 · Viewed 7.8k times · Source

I'm working with Pentaho Data Integration (Kettle) and I have a question.

I have two input files file1.txt and file2.txt with the same header:

  • file1.txt

    NAME;AGE
    alberto;22
    angela;22
    madelaine;23
    
  • file2.txt

    NAME;AGE
    carlos;56
    fernando;30
    ana;16
    

and I want to merge both files into one, files_together.txt

NAME;AGE
alberto;22
angela;22
madelaine;23
carlos;56
fernando;30
ana;16

I've tried all (I think) and I don't know how to do it. I've been searching in Google, Youtube... with no positive match.

Thank you very much.

Answer

japmelian picture japmelian · Apr 21, 2014

Answer; just put the output of each file you want to merge as input of the final one.