I have a tricky question about the "Copy Activity" in ADF. Assume the following scenario:
- Source: an external API or an non-Azure database using hosted integration runtime.
- Sink: an Azure SQL Server database.
- The "pre-copy Script" field has a command to delete some data from the sink table (why deleting is out of scope of the discussion).
When the pipeline runs, the connection with the source fails (due to a time-out, network issue, authentication, etc.)
The question is: will the pre-copy script run in this case? Or the script only runs after ADF successfully connected the source data store? I couldn't find any reference about it.
I can just try to simulate it and see what happens, but I'm hopping someone can save my time. :)
Thanks in advance!