Union

In this document, you’ll learn how to use the Union transformation in Astera Dataprep to combine datasets from different sources with an existing dataset in your Dataprep Recipe.

Use Case

A company wants to combine its North Sales dataset with South Sales and East Sales datasets. These additional datasets may exist as files, shared project sources, or database tables. The objective is to consolidate them into a single unified dataset for analysis.

  1. In the toolbar, click on Union and select the appropriate source type.

  1. This will open the Recipe Configuration – Union panel. In this panel you can configure the source-specific settings (see tabs below).

  • Dataset: Select the dataset you want to union with from the drop-down.

  1. Provide a name for the union dataset (or keep the default name).

  1. Choose a Union Type:

  • Matching: Returns only the fields that are present in both datasets.

  • All: Returns all fields from both datasets.

  • Remaining: Returns fields present in the current dataset along with the fields present in both datasets.

  1. Once you’re done, click Apply. The result will appear in the grid.

Last updated

Was this helpful?