Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Sylvain_ldgo
Contributor
Contributor

[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

 

0683p000009MaBg.png0683p000009MaAj.png

(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 ?

 

Regards

Labels (2)
0 Replies