ChoETL icon indicating copy to clipboard operation
ChoETL copied to clipboard

Compare identifies rows as Deleted as well as Added

Open TomEgg opened this issue 3 years ago • 1 comments

Compare identifies records as deleted as well as added, where an "unchanged" might be awaited.

Please see following example: https://dotnetfiddle.net/nDUrTW

Is there any solution, as a workaround comparing the deleted and added after processing does not really feel good.

Thank you.

TomEgg avatar Nov 28 '22 16:11 TomEgg

Issue was the inputs are NOT in sorted order, hence the output are incorrect. You need to sort the input by ID before comparing. Tweaked the fiddle, check it out

https://dotnetfiddle.net/ujb4yq

Cinchoo avatar Aug 08 '23 17:08 Cinchoo