Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare identifies rows as Deleted as well as Added #255

Open
TomEgg opened this issue Nov 28, 2022 · 1 comment
Open

Compare identifies rows as Deleted as well as Added #255

TomEgg opened this issue Nov 28, 2022 · 1 comment

Comments

@TomEgg
Copy link

TomEgg commented Nov 28, 2022

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.

@Cinchoo
Copy link
Owner

Cinchoo commented Aug 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants