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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

java.lang.RuntimeException: Couldn't parse value for column 'id'

Hi i am getting error

java.lang.NumberFormatException.forInputString "id" column

i am trying to insert string value in integer column i.e

source having 100,101,102 treated as string,now i have to convert to integer.

i have done like Integer.parseInt(row4.id) but i am getting error. there is no inverted commas,there is no null values,there is no empty string etc.please help me out

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

 

    Please use tConvertType component to convert a numeric string to Integer. In the output schema of the component, select Integer as the data type for the column and it should work fine. Please refer the help document for sample scenarios for this component.

 

    If the error persists, please share the screenshot of the job and tCOnvertType component details in your job and we will take it from there.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi,

 

    Please use tConvertType component to convert a numeric string to Integer. In the output schema of the component, select Integer as the data type for the column and it should work fine. Please refer the help document for sample scenarios for this component.

 

    If the error persists, please share the screenshot of the job and tCOnvertType component details in your job and we will take it from there.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Hi nikhil thampi thanks for your solution.i need help from your side regarding incremental loading.can you please send the job for attaching image what you added before in our talend community.


image.png
Anonymous
Not applicable
Author

@adutta 

 

I don't have that job handy right now. But you know the steps to recreate the job now, right?

 

If you are facing any issue, feel free to post the query in community and we all are here to support you.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂