Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Sging
Contributor

Error java.sql.SQLDataException: [Amazon][JDBC](10400) Invalid type for data - column: 20, type: int.

Hello,

I have a job that connects to Redshift Database and runs some queries and exports some files to s3 bucket (see image of failing component) .

Error message upon first run after building :

java.sql.SQLDataException: [Amazon][JDBC](10400) Invalid type for data - column: 20, type: int.

0693p00000AbYanAAF.png

Inside the failing component I am just truncating and inserting data into 2 tables. Code in the failing components runs correctly I checked.

Talend Open Studio for Data Integration v7.3.1 .

OS: Windows

Thanks in advance

Labels (2)
2 Replies
Anonymous
Not applicable

Hi

Please check if the number of columns on the schema map the select fields in the query, and check if each column has the right data type.

 

Regards

Shong

Sging
Contributor
Author

You are right error was fixed after applying this! Thanks !