Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

"NULL result in a non-nullable column" error while inserting data from one snowflake table to other snowflake table using Talend Data Integration

Hello Team,

  I am creating a SCD2 flow without using SCD2 components(ex: SCDELT).

My source and target tables are in Snowflake database only.

Attaching my SCD2 flow.

I am trying to just insert the new records from source to target.

When i checked the SK and other column values in tLOGROW, they are all not null.

But while inserting data in Snowflake target, it is giving error as:"

"Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: NULL result in a non-nullable column"

 

Only SK column has Not Null constraint.

 

Thank you.

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,
Thank you for your help.
There was some issue with column names between source and target due to which error was coming in talend.
Issue is solved now.

Thank you

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hello,

Are there empty strings in the source data? Could you please verify whether you have unchecked the below check box in tDBOutput(Snowflake)?

0683p000009M69l.png

Best regards

Sabrina

Anonymous
Not applicable
Author

Hello,
Thank you for your help.
There was some issue with column names between source and target due to which error was coming in talend.
Issue is solved now.

Thank you