Azure / Azure/Azure-DataFactory
Copy activity with "preserve zip file name as folder" and relative paths
- Dominant language
- PowerShell
- Stars
- 529
- Forks
- 623
- PR merge metrics
- No merged PRs in 30d
Description
I have a dataset pointing to a fileshare folder with a structure like this:
sourcedatasetroot\somefolder\somezip.zip
sourcedatasetroot\someotherfolder\someotherzip.zip
sourcedatasetroot\project1\somefolder\somezip.zip
These are copied to another dataset pointint to a datalake using a copy activity.
I dont want the zip file names to end up as directories, so I have unchecked "preserve zip file name as folder", but this also removes the relative folders.
I would expect unchecking "preserve zip file name as folder" to result in a folder structure on the target as:
targetdatasetroot\somefolder\
targetdatasetroot\someotherfolder\
targetdatasetroot\project1\somefolder\
but instead they are copied as
targetdatasetroot\
targetdatasetroot\
targetdatasetroot\
Checking "preserve zip file name as folder" I would get this structure:
targetdatasetroot\somefolder\somezip.zip\
targetdatasetroot\someotherfolder\someotherzip.zip\
targetdatasetroot\project1\somefolder\somezip.zip\
Contributor guide
Assessment
This issue has not been assessed yet.