Hi,
Can someone please explain the difference between the SimpleGather and Concatenate component? I’m unable to find the difference, both seems to be reading the records from one or more input ports and sends them to the single output port. Is there any functional difference between these two components? please explain
Thanks,
Senthil
Hi Senthil,
The difference is in order of output records.
SimpleGather forwards records immediately so output records do not have to be sorted in any way. Basically, common FIFO (First In, First Out) principle is applied.
________
a,b | |
------| |
c,d | | e,c,f,a,d,b or a,c,d,e,b,f or ... (random)
------| |------
e,f | |
------| |
|________|
Concatenate gathers input records starting with the first input port, continuing with the next one and ending with the last port. Within each input port the records order is preserved.
________
a,b | |
------| |
c,d | | a,b,c,d,e,f
------| |------
e,f | |
------| |
|________|
I hope it is clear now.
Best regards,