...
Consider that the original file contains only a few records (as demonstrated being created in a CSV Generator Snap, but can be read from a File Reader with a CSV Parser). | By comparison, the new file has over 1000 records (again, demonstrated being created in a CSV Generator Snap). | ||
Because the comparison can only be done by sorted stream, each file will need to be sorted by the same column, such as $Last, with the same sort order, so add a Sort Snap after each file input (CSV Generators in this example). | Next, configure the Diff Snap with the Sort path and Sort order. | ||
This results in deleted lines routing to the Deletions view, new lines to the Insertions view, modified lines to the Modified view, and unchanged lines to the Unmodified view | .
Reading an Original CSV File and a Modified Version
...
Info |
---|
|
...