aswinkarthik / csvdiff

A fast diff tool for comparing csv files
https://aswinkarthik.github.io/csvdiff/
MIT License
532 stars 57 forks source link

Detect also deleted rows when used with primary keys #28

Closed robomotic closed 5 years ago

robomotic commented 5 years ago

Hello there, I really love this tool, however when I do this:

csvdiff old.txt new.txt --primary-key 0,1 --format json > diff.json

Where for example old is:

key,data a,1 b,2 c,3

And new is:

key,data b,5 c,3 d,6

It will only detect that b has changed and d has been added but not that a has been deleted.

aswinkarthik commented 5 years ago

Thank you for the love 👍 Will add support for it without impacting performance.