I am trying to split the results of a pentaho conversion into several files based on the value of a specific field with no luck.
eg. A result set containing the following:
SURNAME, FIRST NAME, COUNTRY
Obama, Barack, USA
Cameron, David, UK
Blair, Tony, UK
The result will be the creation of 2 output files:
USA.txt - containing Obama and UK.txt - containing the other 2 lines
Any pointers would be greatly appreciated.
source
share