Share via

Column level type conversion in Mapping section of Copy Activity in Azure Data Factory.

BadMan 0 Reputation points
2026-03-11T08:19:27.9433333+00:00

Earlier, I used to get the option to change type conversion settings of a particular datetime column in mapping section of a copy data activity.

User's image

Here my source is Azure SQL DB and Destination is Azure blob storage.

Now, If I am changing my source to Fabric warehouse, I can see the type conversion settings but that I don't have the option to change it for individual column mapping.
User's image

User's image

I have tried applying the same type conversion settings of those particular columns in JSON code, but still it was not reflecting on Mapping section.
So, I wanted to if there is any workaround for my requirement

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 41,566 Reputation points MVP Volunteer Moderator
    2026-03-11T16:19:07.9033333+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    This behaviour is a current limitation in ADF Copy Activity when the source is a Fabric Warehouse.

    Earlier, with Azure SQL db as source, ADF allowed column-level type conversion settings in the Mapping tab (for example DateTime format per column). When the source is Fabric Warehouse, the connector currently exposes type conversion only at the activity level, not at the individual column mapping level, so the UI does not show those options even if you add them manually in JSON.

    Workarounds:

    1. Handle formatting in the source query (recommended) Use a query in the source dataset and convert the column explicitly:
         SELECT 
             CONVERT(VARCHAR(19), ModifiedOn, 120) AS ModifiedOn,
             CONVERT(VARCHAR(19), ExtractDate, 120) AS ExtractDate
         FROM table
          
      
      This forces the format before Copy Activity reads it.
    2. Use a Data Flow instead of Copy Activity In Mapping Data Flow you can use Derived Column + toString()/toTimestamp() for precise column-level formatting.
    3. Use staging with SQL transformation Land data into a staging table/file, then run a transformation step to control datetime format.

    Bottom line: Per-column type conversion in the Mapping UI is not supported yet for Fabric Warehouse sources in Copy Activity, so the practical workaround is formatting in the source SQL query or using Data Flow transformations.

    Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.

    0 comments No comments

Your answer

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