Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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 🙂
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 🙂
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.
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 🙂