An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Hi @HARISH LOGANATHAN
The error happens because Synapse Copy Activity cannot automatically convert an INT64 value into a DateTime column.
The value 1768842423000000 looks like a Unix timestamp stored in microseconds. Copy Activity does not automatically interpret that as a date.
There is no direct setting in Copy Activity to convert INT64 → DateTime automatically.
Here are the recommended options:
Option 1 – Use Mapping Data Flow
Instead of Copy Activity, use a Mapping Data Flow and add a derived column with conversion logic like:
- If value is in microseconds → divide by 1,000,000
- Convert it using
toTimestamp()
Example logic:
toTimestamp(UP_DATE / 1000000)
This allows proper conversion before writing to Synapse.
Option 2 – Stage as BIGINT first
- Create the target column in Synapse as BIGINT.
- Load the data as-is.
- Use a SQL update statement to convert it:
Example:
UPDATE table
Then change the column type if needed.
Option 3 – Convert before landing
If possible, convert the column to proper timestamp format before writing the Parquet file.
Hope this helps. Let me know if you have any questions.