Quantcast
Viewing all articles
Browse latest Browse all 16689

Create new fields from values in the existing fields

Hi,

I am getting starting with Pentaho Data Integration and I have a doubt about the following:
I have a file like this:

Field0;Field1;Field2;Field3
971551933594=Number;12=Language;FALSE=Supressed;0=Status
971551933597=Number;1=Language;0=Status;23 June 2013 14:48:27 (1371998907)=Date
971551933601=Number;12=Language;FALSE=Supressed;0=Status

And I need to get the following:

Number;Language;Date;Supresed;Status
971551933594;12;;FALSE;0
971551933597;1;23 June 2013 14:48:27 (1371998907);FALSE;0
971551933601;12;;FALSE;0

That is, I don't know the name of the output fields (but I know all the possible fileds), so I must take it from the field.
I have tried a "Modified Java Script Value" but I need to know how to go over all the fileds for each row.

Thanks in advance,
malefu

Viewing all articles
Browse latest Browse all 16689

Trending Articles