Merging data streams#
Merging allows you to bring multiple data streams together.
Merging data from different branches or nodes uses the Merge node. To merge data from multiple node executions, use the Code node.
To compare data, merge it, and output data streams depending on the comparison, use the Compare Datasets node.
Merge data from different branches#
If your pathway splits, you combine the separate branches back into one branch.
The Merge node documentation contains details on each of the merge operations.
Merge data from different nodes#
You can use the Merge node to combine data from two previous nodes, even if the pathway hasn't split into branches. This can be useful if you want to generate a single dataset from the data generated by multiple nodes.
Merge data from multiple node executions#
Use the Code node to merge data from multiple node executions. This is useful in some Looping scenarios.
Node executions and pathway executions
This section describes merging data from multiple node executions. This is when a node executes multiple times during a single pathway execution.
Compare, merge, and split again#
The Compare Datasets node compares data streams before merging them. It outputs up to four different branches.