Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Unzip file then execute transformation for every files found

  1. #1

    Default Unzip file then execute transformation for every files found

    Hello,

    I'm a bit stuck in my design... I have a job where I start by unzipping a file. In this component, I've checked "add extracted files to results" under the advanced tab. Then I need to call a transformation for each of the extracted file so I drag a hop from my "unzip" component to "Execute Transformation".
    From my understanding, I can't use the option "execute for every rows" because in a job there is no row, am I correct?

    I've tried the "copy result to args" but to be honnest, I have no clue what "args" are for... how can we retrieve theses "args" in the transformation (if that's the way to go)? in my transformation I tried "get rows from results", again no success...

    Anyone could enlighten me a bit in the approach to take?
    Thank you.

    MB

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Why unzip at all, when Kettle can unzip on the fly?
    So long, and thanks for all the fish.

  3. #3

    Default

    Quote Originally Posted by marabu View Post
    Why unzip at all, when Kettle can unzip on the fly?
    Because in the text file input "documentation" it states that it can only process the first file...
    Besides, I didn't find much information on how to proceed.

  4. #4

    Default

    Quote Originally Posted by mblondinde View Post
    Because in the text file input "documentation" it states that it can only process the first file...
    Besides, I didn't find much information on how to proceed.
    forget it, I figured it out....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.