Professional Documents
Culture Documents
Union Transformation Overview
Union Transformation Overview
By
PenchalaRaju.Yanamala
Transformation type:
Active
Connected
The Union transformation is a multiple input group transformation that you use to
merge data from multiple pipelines or pipeline branches into one pipeline branch.
It merges data from multiple sources similar to the UNION ALL SQL statement to
combine the results from two or more SQL statements. Similar to the UNION ALL
statement, the Union transformation does not remove duplicate rows.
Use the following rules and guidelines when you work with a Union transformation:
You can create multiple input groups, but only one output group.
All input groups and the output group must have matching ports. The precision,
datatype, and scale must be identical across all groups.
The Union transformation does not remove duplicate rows. To remove duplicate
rows, you must add another transformation such as a Router or Filter
transformation.
You cannot use a Sequence Generator or Update Strategy transformation
upstream from a Union transformation.
The Union transformation does not generate transactions.
Transformation tab. You can rename the transformation and add a description.
Properties tab. You can specify the tracing level.
Groups tab. You can create and delete input groups. The Designer displays
groups you create on the Ports tab.
Group Ports tab. You can create and delete ports for the input groups. The
Designer displays ports you create on the Ports tab.
A Union transformation has multiple input groups and one output group. Create
input groups on the Groups tab, and create ports on the Group Ports tab.
You can create one or more input groups on the Groups tab. The Designer
creates one output group by default. You cannot edit or delete the output group.
You can create ports by copying ports from a transformation, or you can create
ports manually. When you create ports on the Group Ports tab, the Designer
creates input ports in each input group and output ports in the output group. The
Designer uses the port names you specify on the Group Ports tab for each input
and output port, and it appends a number to make each port name in the
transformation unique. It also uses the same metadata for each port, such as
datatype, precision, and scale.
The Ports tab displays the groups and ports you create. You cannot edit group
and port information on the Ports tab. Use the Groups and Group Ports tab to
edit groups and ports.