> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ETL: Union Transformation

> Use the Union transformation to merge records from two inputs with identical schemas into a single output stream in your ETL data pipeline.

<Frame>
  <img src="https://mintcdn.com/integrateio/HSGmKiO3soPLENmi/images/creating-packages/using-components-union-transformation/image-1.png?fit=max&auto=format&n=HSGmKiO3soPLENmi&q=85&s=1398fe4f28237e7c66c059b200132867" alt="Union component in the pipeline designer" width="1200" height="828" data-path="images/creating-packages/using-components-union-transformation/image-1.png" />
</Frame>

<Note>
  **Note:**

  Union in Integrate.io ETL acts like Union all in SQL (will not remove duplicate rows)
</Note>

## Union inputs

Select 2 inputs and drag and drop the component menu button onto the union component:

<Frame>
  <img src="https://mintcdn.com/integrateio/HSGmKiO3soPLENmi/images/creating-packages/using-components-union-transformation/image-2.png?fit=max&auto=format&n=HSGmKiO3soPLENmi&q=85&s=65ada66b59ae705dd0178e7a35468374" alt="Dragging two inputs onto the Union component" width="950" height="782" data-path="images/creating-packages/using-components-union-transformation/image-2.png" />
</Frame>

Within the component you can define which input is the left input and which is the right input.

## Input field mapping

Map the pairs of fields from the two inputs into a single output field. You can auto-fill the list by order of fields in the two inputs (Auto-fill by order) or by matching field names (Auto-fill by name). You can also manually pick pairs of fields from the two inputs.

<Frame>
  <img src="https://mintcdn.com/integrateio/HSGmKiO3soPLENmi/images/creating-packages/using-components-union-transformation/image-3.png?fit=max&auto=format&n=HSGmKiO3soPLENmi&q=85&s=d2552e1269089ad3f2dc3ca52de41cdd" alt="Input field mapping with auto-fill by order and by name options" width="1200" height="988" data-path="images/creating-packages/using-components-union-transformation/image-3.png" />
</Frame>
