Short Description |
Ports |
Metadata |
Details |
Compatibility |
See also |
SimpleGather gathers data records from multiple inputs. The order of output records is unpredictable.
Component | Same input metadata | Sorted inputs | Inputs | Outputs | Java | CTL | Auto-propagated metadata |
---|---|---|---|---|---|---|---|
SimpleGather | 1-n | 1-n |
Port type | Number | Required | Description | Metadata |
---|---|---|---|---|
Input | 0 | For input data records | Any | |
1-n | For input data records | Input 0 | ||
Output | 0 | For gathered data records | Input 0 | |
1-n | For gathered data records | Input 0 |
At least one connected input port and at least one connected output port are required.
SimpleGather propagates metadata in both directions. SimpleGather does not change metadata priorities.
SimpleGather has no metadata template.
Input ports must have the same metadata. Metadata name and field names may differ but the field datatypes must correspond to each other.
Output ports must have the same metadata. Metadata name and field names may differ but the field datatypes must correspond to each other.
The order of output records is unpredictable. Only the order of records coming from the single port is preserved.
SimpleGather receives data records through one or more input ports. SimpleGather gathers (demultiplexes) all the records as fast as possible and sends them all to all the output ports.
Figure 55.5. SimpleGather
If you need a component merging input records and preserving the order, use Concatenate or Merge.
Till CloverETL version 4.0.x you can disable only the last input or output port(s) of SimpleGather: e.g. you can disable third and fourth input port, but you cannot disable the first one.
Since version 4.1.0-M1 you can disable any input port or any output port provided there is at least one input port and at least one output port.