<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [MongoDB] Compilation error when 2 tMongoDBInput use an aggregation pipeline in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/MongoDB-Compilation-error-when-2-tMongoDBInput-use-an/m-p/2264886#M44590</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a problem with the tMongoDBInput component.&lt;/P&gt; 
&lt;P&gt;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 :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Duplicate local variable aggregationStages&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal1.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaBg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141080i1184698807EA8AC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaBg.png" alt="0683p000009MaBg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal2.png" style="width: 285px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaAj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154858iE8F8726E9A9ACA2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaAj.png" alt="0683p000009MaAj.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;(the aggregation pipeline is the same in mongoDbCollection1)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;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.&lt;/P&gt; 
&lt;P&gt;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).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;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).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there another way to get around this bug easily ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:22:52 GMT</pubDate>
    <dc:creator>Sylvain_ldgo</dc:creator>
    <dc:date>2024-11-16T02:22:52Z</dc:date>
    <item>
      <title>[MongoDB] Compilation error when 2 tMongoDBInput use an aggregation pipeline</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MongoDB-Compilation-error-when-2-tMongoDBInput-use-an/m-p/2264886#M44590</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a problem with the tMongoDBInput component.&lt;/P&gt; 
&lt;P&gt;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 :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Duplicate local variable aggregationStages&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal1.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaBg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141080i1184698807EA8AC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaBg.png" alt="0683p000009MaBg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tal2.png" style="width: 285px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaAj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154858iE8F8726E9A9ACA2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaAj.png" alt="0683p000009MaAj.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;(the aggregation pipeline is the same in mongoDbCollection1)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;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.&lt;/P&gt; 
&lt;P&gt;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).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;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).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there another way to get around this bug easily ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MongoDB-Compilation-error-when-2-tMongoDBInput-use-an/m-p/2264886#M44590</guid>
      <dc:creator>Sylvain_ldgo</dc:creator>
      <dc:date>2024-11-16T02:22:52Z</dc:date>
    </item>
  </channel>
</rss>

