Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
RA6
Creator
Creator

Incorrect result of date less than 1970 in database

Hello guys,

 

I am encountering a date issue while trying to insert data into a table => (snowflake database => data type is DATE in DB)

As you can see below, It is happening to all dates less than 1970; except 01/01/yyyy

The issue occurs when i use date type; however when i use string type, i don't have the issue and all the dates are appearing correctly.

 

0695b00000kXg29AAC.pngit is a simple job, rightly to test this date issue. 

 

0695b00000kXSHAAA4.png 

Can you someone advise please?

 

Thank you.

 

Best regards,

RA

Labels (2)
5 Replies
Anonymous
Not applicable

@Rohit Aftab​ , what is the data type in snowflake db? I did a testing with Date type, it has the same data as original data.

 

 

 

RA6
Creator
Creator
Author

Hello @Shicong Hong​,

 

The snowflake db is of date type:

 

0695b00000kYTk1AAG.png 

 

0695b00000kYTq8AAG.png 

 

0695b00000kYTr1AAG.png 

As you can see, everything is of type date.

 

The weird thing is that, dates above "01/01/1980" are displaying well in the database.

 

Another weird thing is that if i make it to String type, it works :

 

0695b00000kYTnZAAW.png 

0695b00000kYTyWAAW.png

RA6
Creator
Creator
Author

Hello @Shicong Hong​ 

 

Here is another remark that i have made yesterday.

 

We are currently using Talend Cloud Real_Time Big Data Platform and all the tests that i have done till now, it was with with one.

 

Tested in both localhost and server-side => Incorrect dates for both

 

0695b00000lvLXIAA2.png 

However i have tried the same test with the open source version => Talend Open Studio Data Integration and i was unable to reproduce the error; all the dates were inserted correctly either with date type or string.

 

I really don't know what is causing this issue now.

 

Regards,

RA

Anonymous
Not applicable

What is the version of Talend Open Studio for Data Integration? You are using an very old version 7.1.1, i can't remember if it was a bug? I am using Talend Cloud Data Fabric 8.0.1 and I can't reproduce the issue.

 

RA6
Creator
Creator
Author

Hello @Shicong Hong​ ,

 

it is the TOS_DI-20181026_1147-V7.1.1

 

0695b00000lvQgyAAE.png