Hi @osharena ,
Thankyou for using Microsoft Q&A platform and thanks for posting your question here.
As I understand your issue, your query is regarding deletion of records from sink if the record is no longer present in the source. Please let me know if that is not the correct understanding.
There is no direct way to achieve 'Delete from source' using ADF pipeline till now. Upsert only takes care of updating the existing record in sink wherever the keycolumn matches with the source , or inserting the new record.
- If you want to delete the data from sink (say table_sink) , which no more in source, then he might need to load the existing source data into a dummy table (say table_dummy) in sink db and write some stored procedure or build a pipeline to compare table_sink and table_dummy data and delete the records from table_sink which are present in table_sink but not in table_dummy .
- You can also add two sources (source table and sink table) use Alter row transformation on top of sink table in Mapping dataflow to write the condition to delete data from sink .
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you.
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
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators