Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Compare Two Files

Scenario

Data reconciliation typically involves merging data from 2 (or more) sources, and determining which pieces are missing, duplicated or mismatched.

We want to compare two files (or portions of files) to see if they are identical, or if they contain data for the same keys.

Solution:

  • Create a Stream for each of the inputs.
  • Create an Aggregate / Merge Stream with pipes from all of the original streams.
  • Key the data in each pipe to the field(s) that should match.
  • Create a status field in the Aggregate Stream to report the status of the merge for this record.

See Also

  • href="../../../../../../doc/training/Exercises.pdf">Patterns and Exercise Training Document
  • href="http://www.phixflow-online.com:8081/patterns">PhixFlow Online Patterns and Training
  • No labels