Fatal error when loading from a excel(xlsx) file to redshift table.

Six Stars

Fatal error when loading from a excel(xlsx) file to redshift table.

Hi

I am loading an xlsx file into a redshift table, but I am seeing a fatal error and unable to load the data. Please help.

below is the run time error as seen in run console:

 

Exception in component tFileInputExcel_1
java.lang.NumberFormatException: Value out of range. Value:"42594" Radix:10
    at java.lang.Short.parseShort(Short.java:120)
    at java.lang.Short.parseShort(Short.java:144)
    at routines.system.ParserUtils.parseTo_short(ParserUtils.java:148)

~ ````Please don't forget to give "kudos" when a reply is helpful and click "Accept the solution" when you think you're good with it. Thanks! ~
Moderator

Re: Fatal error when loading from a excel(xlsx) file to redshift table.

Hi,

Java will not accept values to overflow. What does your input data look like? How did you set your data type in schema setting?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Six Stars

Re: Fatal error when loading from a excel(xlsx) file to redshift table.

Hi Sabrina/ Talend Community,

I have attached a screenshot of how my input data looks like; Please look at the attachment, and I have set the data type according to the column data found in screenshot.

~ ````Please don't forget to give "kudos" when a reply is helpful and click "Accept the solution" when you think you're good with it. Thanks! ~

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog