I have tried pentaho for loading csv file and storing into Database. One of the column in CSV have multiple type values say 2.7777777777777E-06, 0, 2222, 2 , 35.023
My transformation doesn't support type conversion. Please help me for getting this fixed with right pattern for all type of numbers.
Error Message:
Modified Java Script Value.0 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : Unexpected error 2017/11/24 10:17:01 - Modified Java Script Value.0 - ERROR (version 7.1.0.0-12, build 1 from 2017-05-16 17.18.02 by buildguy) : org.pentaho.di.core.exception.KettleValueException: 2017/11/24 10:17:01 - Modified Java Script Value.0 - Javascript error: 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - Unexpected error 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - Unexpected conversion error while converting value [Average String] to a Number 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - Average String : couldn't convert String to number 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - Average String : couldn't convert String to number : non-numeric character found at position 18 for value [2.777777777777775e-06] 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:475) 2017/11/24 10:17:01 - Modified Java Script Value.0 - at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:541) 2017/11/24 10:17:01 - Modified Java Script Value.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2017/11/24 10:17:01 - Modified Java Script Value.0 - at java.lang.Thread.run(Thread.java:748) 2017/11/24 10:17:01 - Modified Java Script Value.0 - Caused by: org.pentaho.di.core.exception.KettleValueException: 2017/11/24 10:17:01 - Modified Java Script Value.0 - Unexpected error 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - Unexpected conversion error while converting value [Average String] to a Number 2017/11/24 10:17:01 - Modified Java Script Value.0 - 2017/11/24 10:17:01 - Modified Java Script Value.0 - Average String : couldn't convert String to number