I have a csv file which have some time a date like this 00/00/00 by using tMap I want to make a condition if it 00/00/00 make it null
I tried but its not work
ToMap.date_naissance != "00/00/00" ? (ToMap.date_naissance).toString() : null
It works "ToMap.date_naissance.equals("00/00/00") ? null : date_naissance" Only when both the source and target data type is string.
What if our datatype in source is string and target is date data type.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Learn how and why companies are moving to the Cloud