Azure Data Factory Copy Activity - Auto table creation in sink side is not applicable for your source dataset

RogerPujolGrau-2941 45 Reputation points
2023-05-22T18:03:53.99+00:00

Hi,

ADF throws this error "Auto table creation in sink side is not applicable for your source dataset DummyInput. Please create a new one." when using a SQL Server both as an Input and Output for a simple Copy Activity.

I am trying to replicate SQL tables from a source to a sink, to later make a copy of the data too. But this problem persists even though the type of source and sink is the appropiate one for this functionality. I've also tried to create ADF pipelines to execute a CREATE TABLE statement for each source table but user-defined datatypes and tables are being a problem.

User's image

User's image

User's image

User's image

Any approach to make the Auto Create Table work? Couldnt find any similar issue being fixed.

Thanks

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

1 answer

Sort by: Most helpful
  1. Alberto Morillo 34,151 Reputation points MVP
    2023-05-22T20:08:18.7066667+00:00

    On the pre-copy script field, please try to write a query to create the table or objects needed. For example,

    User's image

    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.