Hi @Anonymous ,
Welcome to Microsoft Q&A Platform. Thank you posting query here.
Unfortunately for your case you need to go with Data flows only. Because copy activity in Azure data factory only allow us to perform data movement as is. Handling type conversion from string to int directly is not available in copy activity. To do any kind of checks or transformation we should consider data flows.
Data flows allow data engineers to develop data transformation logic without writing code. You can consider derived column transformation for your case to check if value is empty or not and pass value accordingly.
Hope this will help. Please let us know if any further queries. Thank you.
----------------------
- Please
accept an answer
if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how. - Want a reminder to come back and check responses? Here is how to subscribe to a notification.