But in my scenario the source is daily generated file with a column that defines the row with A,U,D ( add,update,delete ). How do I handle the delete records in the target because blog explains table-table comparison but in my scenario when there is a delete in source then the deleted record with be flagged as “D” )
Table comparison is used just to flag records. You can do the same with map operation.
In brief:
split your incoming records in 3 different flows, depending on your operation flag (A, U, D)
2.1. those flowing to “A” are already set, so leave them where they are until item 3;
2.2. those flowing to “U” or “D” branches enter a dedicated “map operation” component, where you set “normal to update” on “U” branch and “normal to delete” on “D” branch.
merge the 3 flows into one with a “merge” component and send the unified flow as if it were the output of the blog thread’s table comparison.