Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More

Qlik Replicate and Snowflake Endpoint: Tables are suspended with Timestamp error

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
narendersarva
Support
Support

Qlik Replicate and Snowflake Endpoint: Tables are suspended with Timestamp error

Last Update:

Mar 21, 2023 5:22:27 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 21, 2023 5:22:27 AM

Qlik Replicate tasks error out, and tables are suspended.

RetCode: SQL_ERROR  SqlState: 22007 NativeError: 100035 Message: Timestamp '0000-00-00 00:00:00.000000' is not recognized Failed (retcode -1) to execute statement: 'INSERT  INTO "XXXXX_CTRL"."public_refer__ct"

 

Environment:

Qlik Replicate 
Snowflake Endpoint

 

Resolution:

'0000-00-00 00:00:00' is not a valid timestamp in Snowflake. A transformation will need to be added to change this to your desired value.

Here is an example, in this case we are replacing the timestamp to '1970-01-01 00:00:00':

coalesce(
CASE WHEN substr($AR_M_SOURCE_COLUMN_DATA,1,4) = '0000'
THEN '1970-01-01 00:00:00'
WHEN substr($AR_M_SOURCE_COLUMN_DATA,1,4) = ''
THEN '1970-01-01 00:00:00'
ELSE
$AR_M_SOURCE_COLUMN_DATA
END
,$AR_M_SOURCE_COLUMN_DATA)

 

 

Labels (1)
Version history
Last update:
‎2023-03-21 05:22 AM
Updated by: