GV2019
7 years agoNew Contributor II
Pipeline To Output one File per Date
I need to get Distinct update_dt and write one file per date from a oracle table sufixing the filename with date value. can you provide a sample pipeline which has similar functionality
I have created 2 pipelines one with
- Oracle execute – ( Select trunc(update_dt) from inv_lines_stage group by trunc(update_dt)
- mapper
- For Each
Pipleline 2 with - Oracle Select – (Select * from inv_lines_stage where trunc(update_dt) == $_updateDt)
_upsateDT defined as parameter in pipeline settings - mapper
- CSVFormater
- FileWriter
My problem : I am not able to join these pipelines and pass the update_dt as parameter to 2nd pipeline