Synapse dataflow connecting to D365FO CDM in ADLSG2 as source, reads Date & DateTime from CSV files values as Null

Manish Moothedath 5 Reputation points
2023-05-16T12:56:29.81+00:00

I have a Synapse dataflow that is connecting to a CDM folder from D365FO service in ADLSG2. The data files are in CSV and are read correctly as intended. Only the Date or Date Time fields are read as "NULL" across all Source datasets created in the Dataflow.
I already tried modifying the schema to string and with derived column expressions, but no luck.

My source output and resolve cdm.Json for the table is below: appreciate any help in resolving this.

User's image

User's image

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,474 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,935 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manish Moothedath 5 Reputation points
    2023-06-09T03:15:28.25+00:00

    Finally found the solution:
    Enabled "Infer drifted column types"
    and select all possible formats for time I have in the csv files.
    Preview Data: Under Refresh >> Re fetch the data from source, and DateTime values are now showing up!!
    User's image

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.