Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 A_San
		
			A_San
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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.
 
					
				
		
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.
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
 
					
				
		
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.
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
		
			A_San
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thank you Nikhil. I had the date format wrong. I had MM/DD/YYYY instead of MM/dd/yyyy.
