To work with the tool in Foresight Analytics Platform 10, use the new interface.
The Union transformer is an object that merges data. Each object has several inputs and a single output. All providers should have unique indexes, number and field types determined. The specified attributes should be identical for all providers. Duplicate records are not allowed (duplicates must be deleted beforehand).
The following conditions ensure effective performance of this algorithm:
Data providers cannot contain duplicates with the same unique index.
All providers must be ordered by their unique index. The order of fields in unique index must be the same for all providers.
When the Union transformer is used from the tables:
Key | Date | Value |
1 | Winter | 2222 |
2 | Winter | 4444 |
3 | Winter | 6666 |
and:
Key | Date | Value |
4 | Summer | 1111 |
5 | Summer | 3333 |
6 | Summer | 5555 |
it can be converted to the following table:
Key | Date | Value |
4 | Summer | 1111 |
1 | Winter | 2222 |
5 | Summer | 3333 |
2 | Winter | 4444 |
6 | Summer | 5555 |
3 | Winter | 6666 |
To determine a list of transformer inputs and a list of fields for each input, use the Edit Inputs page.
The Inputs and Their Links section contains a list of all inputs and their links of transformer object.
Available operations for inputs:
The Input Fields section contains a list of fields and their parameters of object provider or object consumer:
Available operations for input fields:
The Edit Output page enables the user to set links to the consumer object, to which data on executing ETL tasks is loaded.
NOTE. The page is common to all data connectors and transformers, except for the Split and User Algorithm transformers. Consider setting up a list of fields and output links using the example of the Repository data source editing wizard.
The following settings are available on the page:
The Edit Outputs with Error Records page is used to set links to consumer objects, to which information about error records skipped by the transformer is exported:
The following settings are available on the page:
The Union page is used to create a link between input and output fields.
Field connections should be established for each field of the Union object:
Automatic creation of links. Click the Automatically button to link fields with matching identifiers.
Manual creation of links. Drag input field to output field, or select these fields and click the Edit button.
Deletion of links. Select output field and click the Clear button or press the DELETE key.
See also:
Getting Started with the ETL Task Tool in the Web Application | Data Transformers