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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

cannot convert from Object&Serializable&Comparable<?> to Date

Hi,
I am converting two strings into date data types but keeping into an error I do not fully comprehend.
This is my snippet in tMap output into the database:

(row1.Week == null || row1.Week == ("")) ? "" : TalendDate.parseDate("MM/dd/yyyy",row1.Week) 




Type mismatch: cannot convert from Object&Serializable&Comparable<?> to Date



Thanks in advance,
CM

Labels (2)
10 Replies
KrupalGharat
Contributor II
Contributor II

My bad. In the output component, I had not checked the Nullable checkbox.
Talend should be more precise on which component the error exists.
Thank you @shong for your time.