Merge

We assume that you have already learned what is described in:

If you want to find the right Transformer for your purposes, see Transformers Comparison.

Short Summary

Merge merges and sorts data records from two or more inputs.

Component Same input metadata Sorted inputs Inputs Outputs Java CTL
Mergeyesyes2-n1--

Abstract

Merge receives sorted data records through two or more input ports. (Metadata of all input ports must be the same.) It gathers all input records and sorts them in the same way on the output.

[Important]Important

Remember that all key fields must be sorted in ascending order!

Icon

Ports

Port typeNumberRequiredDescriptionMetadata
Input0-1yesFor input data recordsAny
2-nnoFor input data recordsInput 01)
Output0yesFor merged data recordsInput 01)

Legend:

1): Metadata can be propagated through this component. All output metadata must be the same.

Merge Attributes

AttributeReqDescriptionPossible values
Basic
Merge keyyesKey according to which the sorted records are merged. (Remember that all key fields must be sorted in ascending order!) See Group Key for more information.1) 
Equal NULL By default, records with null values of key fields are considered to be different. If set to true, they are considered to be equal.false (default) | true

Legend:

1): Metadata can be propagated through this component. All output metadata must be the same.