Forum Discussion
4 Replies
- bojanvelevskiValued Contributor
You can work on some logic here. If you add “last_modified” as a sorting path, along with the “id”, you’ll get the following scenarios:
- When id is matched, last_modified is the same, and quantity differs, you’ll get the modified record in “Modified” output.
- When id is matched, last_modified differs, and quantity is the same, you’ll get the result from source as a “Deletion” and data from Destination as a “Insertion”
From there you can arrange the flow per your needs.
I hope you’ll find this helpful,
Regards,
Bojan - bojanvelevskiValued Contributor
- manoharContributor
Hi @bojanvelevski , I was able to see how diff snap works. in my case there’s a scenario where Quantity is not changed but Last Modified Date is changed. how can I filter the one where Quantity is the modified one?
Also I need to compare 2 other files where the original file has another Id column called External Id. I need to apply similar logic plus need to pull in the External Id from the Original File.
Any directions?
thanks
Manohar
- manoharContributor
Hi @bojanvelevski , thank you for that. do you have sample pipeline with that snap?
thanks
Manohar