Java user
Java user

Reputation: 299

ADF Copy activity inside foreach activity overwrite content in the sink

I'm new to ADF and I'm using a copy activity inside a foreach activity. the problem which i'm facing is every time the foreach activity executes, the copy activity overwrites the content in the sink(file stored in a container).

My question is, is there a way to make copy activity to add the content at the end of the file instead of overwriting data please ?

Thanks for you help

Upvotes: 1

Views: 3473

Answers (1)

Abhishek Khandave
Abhishek Khandave

Reputation: 3230

Unfortunately, the Copy Activity doesn't support append behavior.

Workaround – Sink data in a separate file and then use MergeFiles option.

enter image description here

Refer - Is it possible to append data for file in ADLS using ADF copy activity?

Upvotes: 1

Related Questions