I am importing a text file with a numeric column that I defined as being Number (14).
Some records in the file have value "0" (zero, without quotes) and I would like to turn this value into NULL, so I used the "Null If" step, but when I try to perform a preview it returns the error:
Java.lang.RuntimeException: Unable to verify if [host_document Number (14) <binary-string>] is not or not because of an error: java.lang.ClassCastException: java.lang.Double can not be cast to [B
I'm having the same problem with fields of type String, but in this case the value in the file can be "-" (dash) or "" (empty string). The error message for the String is identical.
PS: sorry my english
Sample file:
Some records in the file have value "0" (zero, without quotes) and I would like to turn this value into NULL, so I used the "Null If" step, but when I try to perform a preview it returns the error:
Java.lang.RuntimeException: Unable to verify if [host_document Number (14) <binary-string>] is not or not because of an error: java.lang.ClassCastException: java.lang.Double can not be cast to [B
I'm having the same problem with fields of type String, but in this case the value in the file can be "-" (dash) or "" (empty string). The error message for the String is identical.
PS: sorry my english
Sample file:
Code:
1;10395200 ;DL99999;DIV LOGRADOUROS E LOCALIDADES ;0 ;19860220;19931129
1;10395400 ;MG05393;- ;0 ;19860331;19931129
1;10395700 ;MG05439;MURIAE ;0 ;19860716;19931129