How to design a pipeline when copy the data from source to sql when source have more columns and sql table have less columns

Harinadh 1 Reputation point
2021-06-12T05:35:51.303+00:00

Im trying to copy the data from file to table using copy activity. Thing is source file have 10 columns and sql table have 5 columns. When tried to run the job with automaooing getting error number of columns are not same.

Can some one help me.

Thnaks in advance

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

1 answer

Sort by: Most helpful
  1. Nandan Hegde 32,026 Reputation points MVP
    2021-06-12T08:55:59.073+00:00

    Hey,
    Under mapping section in copy activity you can map only the required columns from source to sink and ignore the additional columns. (Delete it)

    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.