Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Yet another "For input string" problem -_-'

So, I have an .txt file that contains data separated by "|".

 

I have this file:

0683p000009Lz1Z.jpg

 

And this job:

0683p000009LyhQ.jpg

 

 

And this schema:

0683p000009Lz1e.jpg

 

 

So, the problem is that I can't get the field "CNPJ" because talend throws this "for input string" error. If I change the schema from "int" to "string" it works. But I want it as integer. So why it isn't working? The first fields are integers too and they are working properly.

 

What I tried:
- I have searched throws this page and the forum, but didn't find a similar problem.

- I tried to change the type of the file from ".txt" to ".csv".

- I checked the field separator and it is right ("|").

 

Please help 0683p000009MPcz.png

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

2147483647 is the max value for an interview variable. So the datatype is not compatible with your data.
Try to change the datatype to Long. Max value will be 9223372036854775807L.

View solution in original post

2 Replies
TRF
Champion II
Champion II

2147483647 is the max value for an interview variable. So the datatype is not compatible with your data.
Try to change the datatype to Long. Max value will be 9223372036854775807L.
Anonymous
Not applicable
Author

Oh..my...god. I can't believe it was just wrong numeric type choice. Thank you so much!!!