I am experiencing an error on a workflow produced in house, using Knime 2.1. This workflow works properly on the older Knime version 2.03.
My workflow is used to customize and write data on an Oracle table, using the node “database writing”.
The problem comes out when I try to append data to an existing table. The new node is able to write the new content for integer data type but gives a negative feedback for numeric data either in the format “numeric” or “numeric(30,10)”.
The error log is :
ERROR Database Writer Execute failed: Column “hia” of type “DoubleCell” from input does not match type “NUMBER” in database at position 1
This error is reported for the first “numeric” column of the list. If I remove the column, the error comes out for the next double present in the table.
The same data, are regularly written on the same database table using Knime version 2.03. Is anyone else facing the same problem? Is the node working not properly, or do I have to set, for the new version, a different type of data?
Hi Davide, thanks for reporting this error that I am able to reproduce on my machine with KNIME 2.1.1. The problem is that the KNIME column type “DoubleCell” is not correctly mapped onto the SQL type “NUMBER”; for integer value types it works fine. The problem only occurs when the “Append table” option is checked. I will take care on this issue which will be fixed with our next release.
Thanks again, Thomas