How to change ADF pipeline data type

Vihanga Sithija 1 Reputation point
2022-11-21T08:39:23.143+00:00

Hi

When we are sinking data between source and destination using copy data activity. While sinking the data we have identified the .different data types.

Is there any way to change the data type destination side?

262455-microsoftteams-image.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,625 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Nandan Hegde 36,146 Reputation points MVP Volunteer Moderator
    2022-11-21T09:02:55.127+00:00

    You can go to the JSON defination :

    262467-image.png

    Search for the sink column and update it to the desired data type and save it

    0 comments No comments

  2. SSingh-MSFT 16,371 Reputation points Moderator
    2022-11-23T05:57:26.82+00:00

    Hi @Vihanga Sithija ,

    Welcome to Microsoft Q&A platform and thanks for using Azure services.

    As we understand the question, you need to convert data types in Copy activity.

    This can be accomplished through Mappings tab of the Copy Data activity.

    First Import schema, then open Json to modify the data types at the source and sink levels.

    The same has been demonstrated in the video for reference: Data Type Conversion in Copy Data Activity | Convert Data Types from Json | CSV to Azure SQL DB

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    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.