Newer Version Available
Append Datasets using union
You can append data from two or more data streams into a single data stream using
union. The data streams must have the same
field names and structure.
To use union, first load the dataset and then use foreach to do the projection. Repeat the process with another dataset. If the two resulting data streams have an identical structure, you can append them using union.
Let’s say that you have two opportunity datasets from different regions that you brought together using the Salesforce mulit-org connector. You want to add these datasets together to look at your pipeline as a whole.
The OppsRegion1 data stream contains these fields.

The OppsRegion2 data stream contains these fields.

Use union to combine the two data
streams.
The resulting data stream contains both sets of data.
