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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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.