0

Is there a method that gives me the list of files copied in azure data lake storage after a copy activity in azure data factory? I have to copy data from a datasource and after i have to skip files based on a particular condition. Condition must check also file path and name with other data from sql database. any idea?

101
  • 62
  • 1
  • 6

1 Answers1

1

As of now, there's no function to get the files list after a copy activity. You can however use a get Metadata activity or a Lookup Activity and chain a Filter activity to it to get the list of files based on your condition.

There's a workaround that you can check out here.

"The solution was actually quite simple in this case. I just created another pipeline in Azure Data Factory, which was triggered by a Blob Created event, and the folder and filename passed as parameters to my notebook. Seems to work well, and a minimal amount of configuration or code required. Basic filtering can be done with the event, and the rest is up to the notebook.

For anyone else stumbling across this scenario, details below:

https://learn.microsoft.com/en-us/azure/data-factory/how-to-create-event-trigger"

chiragMishra-msft
  • 192
  • 2
  • 4
  • 30