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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
heshkaru
Creator
Creator

Talend Timestamp not showing upto microseconds

Hi,

I have implemented a small job to read from postgresql db and log it.

Postgresql Value

--time3.PNG--

Schema Setup in Talend

--time1.PNG--

Actual Logged Value

--time2.PNG--

So DB value 2022-06-19 15:43:13.745071 converted to 2022-06-19 15:43:13.000745 when using talend timestamp. Is there a way to mitigate this issue and get the correct format as in DB value

Thank you

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

@Heshan Karunaratne​ , go to the tip page and read the tip of Step 22, 2022, the tip shows an solution about how to migrate a timestamp. I hope the solution is also applied for Postgresql DB.

 

Regards

Shong

View solution in original post

5 Replies
Anonymous
Not applicable

I can reproduce the issue as you in my side.

To get correct format as in DB value, one possible solution is to setup the type to 'String' and DB Type to 'VARCHAR' for the timestamp field in tPostgresqlInput component as the below

0695b00000YzjzMAAR.png 

 

heshkaru
Creator
Creator
Author

Hi,

Even though we mitigate the issue when reading, still getting the issue when writing to db as a timestamp.

 

Thank you

Anonymous
Not applicable

@Heshan Karunaratne​ , go to the tip page and read the tip of Step 22, 2022, the tip shows an solution about how to migrate a timestamp. I hope the solution is also applied for Postgresql DB.

 

Regards

Shong

heshkaru
Creator
Creator
Author

@Shicong Hong​ 

Thank you, this resolved the issue

Anonymous
Not applicable

Great, thanks for your feedback!