[MongoDB] Compilation error when 2 tMongoDBInput use an aggregation pipeline
Hello,
I have a problem with the tMongoDBInput component.
Indeed, when I use two of them to request collections, and when both of them contains the same aggregation pipeline, I have the following message when I try to execute the job :
Duplicate local variable aggregationStages
(the aggregation pipeline is the same in mongoDbCollection1)
I noticed that I have this problem when I have two tMongoDBInput components in a same subjob, when they are in different subjobs it's ok.
Plus, I noticed that it does not depend on what is in the Aggregation pipeline (I tried to add a step in one of the components, but I still have the error message).
I could use tHashInput/tHashOutput components to get around the problem and have the two tMongoDBInput components in different subjobs ; but for external reasons, I cannot choose this option (I use this job in another project, and this one does not recognize tHash components).
Is there another way to get around this bug easily ?