Issues in implementing date() function
Hi Team,
I've a requirement to transform data incoming date field to specific format - yyyy-MM-dd
From input source system DOB field is coming in 2002-07-07T00:00:00 format
While applying transformation as date(dob,"yyyy-MM-ddTHH:mm:ss"), I'm seeing preview result as "2002-07-07T00:00:00.000Z"
But when the data flow runs, it is ingesting empty values in dataset.
Question 1: What could be the reason why no data is getting ingested in dataset, while I can preview the data in data mapping phase?
Question 2: I've to ingest data in yyyy-MM-dd format in an AEP date field. How can I achieve this with data prep functions?
Snapshot 1: Data mapping preview

Snapshot 2: Empty data in dataset
