Skip to main content

Table Compare

Description

Table compare is a step in the Utility Plugin for Process Studio Workflows. This step compares the data from two tables (provided they have the same lay-out at-least partially to compare columns). This step finds the differences in the data of the two tables and provides detailed analysis and logs it in output fields

Configurations

No.Field NameDescription
1Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
2Reference connection /Compare connectionDatabase connections from which the reference/compare table data will come.
3Reference schema field / Compare schema fieldSpecify the field that contains the schema names for the reference/compare table.
4Reference table field / Compare table fieldSpecify the field that contains the actual table names. This means that you could compare two tables with a different name, as long as they have the same column names.
5Key fields fieldSpecify a field that contains a comma separated list of the fields that make up the 'primary' key of the table(s) you are comparing. The primary key is needed because without this information the two tables cannot be correctly joined.
6Exclude fields fieldSpecify the field that contains a comma separated list of columns that you want to exclude from the comparison. E.g. because they exist in the first table, but not in the second.
7Number of errors fieldSpecify the name of the output column that will contain the total number of errors found for the comparison of your tables.
8Number of reference table records fieldSpecify the name of the field that will contain the actual number of records found in the reference table.
9Number of compare table records fieldSpecify the name of the field that will contain the actual number of records found in the compare table.
10Number of left join errors fieldSpecify the name of the field that will contain the number of records that are only present in the reference table.
11Number of inner join errors fieldSpecify the name of the field that will contain the number of records that show a difference between common records.
12Number of right join errors fieldSpecify the name of the field that will contain the number of records that are only present in the compare table.
13Error handling key description input fieldSpecify the output field names that will be used by the error handling of this step to describe the key(s) on which an error occurred.
14Error handling reference value input fieldSpecify the output field names that will be used by the error handling of this step to describe the reference value that caused an error.
15Error handling compare value input fieldSpecify the output field names that will be used by the error handling of this step to describe the compare value that caused an error.