Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing a field from String to Int in Pentaho Data Integration

I am taking JSON information from our online API and producing it in a table with DI. I have 4 fields url, deviceId, displacement & timestamp. These are all recorded as Strings but I want them to be Int values, bar the url.

In the Generate Rows section I tried changing each parameter to an Int but the results would not show up but if I left them as Strings, it will post the results.

Any help on how I could change the data from type String to Int and still have my data reported?

like image 604
Dan Avatar asked Sep 16 '25 09:09

Dan


1 Answers

Take Select/Rename values Step, and change the data-type in meta-data section.

like image 126
Helping Hand.. Avatar answered Sep 19 '25 06:09

Helping Hand..