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

Add use case example to populate additions.csv, modifications.csv & deletions.csv #51

Open
EarthlingDavey opened this issue Oct 5, 2021 · 0 comments

Comments

@EarthlingDavey
Copy link

Firstly, thanks for this open source software. It will save me from wasting a bunch of time importing unchanged csv rows into my database.

Feature request

In the README.md, a suggested use case is having additions.csv & modifications.csv. I cannot see in the documentation a suggested way to do this.

As a golang newbie, my approach is to:

  1. Write the stout to a file like this csvdiff base-small.csv delta-small.csv -o rowmark > rowmark-small.csv
  2. Parse and filter the rowmark-small.csv to make the 3 files additions.csv, modifications.csv & deletions.csv

This, seems slightly inefficient as I'm 'parsing' the data twice, once with csvdiff, then again.

Is there a better method to get the files?
Or, could this be a feature request where csv-files could be entered as an argument for output format.

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

1 participant