将整数值赋给输出行pentaho
我用水壶的方式很简单。我想做的是从csv文件中读取,在用户定义的Java类步骤中进行某种转换,并将输出写入文本文件 当我运行此命令时,基本上会出现以下错误:将整数值赋给输出行pentaho,pentaho,kettle,Pentaho,Kettle,我用水壶的方式很简单。我想做的是从csv文件中读取,在用户定义的Java类步骤中进行某种转换,并将输出写入文本文件 当我运行此命令时,基本上会出现以下错误: value Integer<binary-string> : There was a data type error: the data type of java.lang.Long object [100] does not correspond to value meta [Integer<binary-string
value Integer<binary-string> : There was a data type error: the data type of java.lang.Long object [100] does not correspond to value meta [Integer<binary-string>]
我该如何解决这个问题呢?所以答案是:关闭惰性转换。你在使用惰性转换吗?是的!就这样!谢谢你,伙计!
get(Fields.Out, "value").setValue(out_row,new Long(100));