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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
A_San
Contributor
Contributor

Date from Source File not reflecting in Postgres target table

I am trying to load the date from the source file into the target postgres table. The date in source file is 03/29/2019 but what I see in the target table after I run my job is 2018-12-30. I have attached my tmap mapping and the job flow. I am not able to find out what is wrong. Any help is appreciated.

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

 

    As a first step, please add tLogrow instead of DB output component to make sure that data is coming out of tMap in right format. Once you print the data to console, you can confirm that everything is working fine till this point.

 

    The next step is to verify whether the data is moving to DB in the right format. Please verify the output schema of the tDBOutput component and add the right date format as shown below.

0683p000009M7Cy.png

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

View solution in original post

2 Replies
Anonymous
Not applicable

Hi,

 

    As a first step, please add tLogrow instead of DB output component to make sure that data is coming out of tMap in right format. Once you print the data to console, you can confirm that everything is working fine till this point.

 

    The next step is to verify whether the data is moving to DB in the right format. Please verify the output schema of the tDBOutput component and add the right date format as shown below.

0683p000009M7Cy.png

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

A_San
Contributor
Contributor
Author

Thank you Nikhil. I had the date format wrong. I had MM/DD/YYYY instead of MM/dd/yyyy.