I have a table tb_rawcsvdata: with columns plant, employeenumber, term_dt.
I need to create a csv file per unique plant using pentaho.
What i did was create a transformation which fetches unique plants and puts in a resultset.
Then i create transformation2 like below:
In Transformation i try to pass the plant as parameter to fetch one result set for each of the unique plants identified and create a csv file per plant(resultset).
while i was able to create one file per plant, the data in it was only plant column with one data as below:
what i want is to fetch all the columns from the sql query and output per file.