devlife
devlife

Reputation: 16145

How to preserve Date Modified when copying S3 files to Azure Blob Storage via Data Factory

I have an Azure Data Factory which copies files from S3 to Blob Storage. I'd like to keep the S3 Date Modified. I set the activity Preserve: Attributes as seen here but that didn't work. The files in Blob Storage always have the date they were copied over.

Upvotes: 0

Views: 917

Answers (1)

Steve Johnson
Steve Johnson

Reputation: 8660

As the doc says:

Copy activity supports preserving the following attributes during data copy:

All the customer specified metadata And the following five data store built-in system properties: contentType, contentLanguage (except for Amazon S3), contentEncoding, contentDisposition, cacheControl.

Preserve: Attributes can't keep the Date Modified. And I don't think this can be achieved by Azure Data Factory. You can refer to Copy Different type of file from Gen1 Azur lake to Azur Gen2 lake with attribute( like last updated)

Upvotes: 1

Related Questions