etl - Unzip a list of files whose path has to be read from a table in Pentaho kettle -


i new pentaho kettle , have requirement want unzip set of files , paths files there in table. wondering how go it.

this should main job:

enter image description here

first transformation connects database , extract paths, after job called (unzip) extracts files. i'll more clear, next transformation called "table input":

enter image description here

use "table input" step connect database. when open have create new connecion , put query in canvas. (make query extract values interested column, not every columns). step "copy rows result" gives values form database next job.

the following job "unzip":

enter image description here

this job receives values previous transformation , pass tose "unzip file" job entry.

things know:

1) in main job double click on unzip job icon, go "advanced" , specify "copy previous result parameters" , "execute every input row". of course in job specification have specify path of job.

2) double click on unzip job icon, go parameters , put parameter named value extract database:

enter image description here

3) enter in sub-job (unzip in case) , right click, go "job settings" , "parameters". put same parameter name before:

enter image description here

4) remember set destination folder of files , receving parameters in "unzip files" job entry:

enter image description here


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -