Share via

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
Jun 12, 2021, 5:35 AM

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.
11,440 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nandan Hegde 34,941 Reputation points MVP
    Jun 12, 2021, 8:55 AM

    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.