0
votes

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.

1
I think Date modified or last modified time is not customer specified metadata.Leon Yue

1 Answers

1
votes

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)