<?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 tMongoDBOutput include two array types in collection in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBOutput-include-two-array-types-in-collection/m-p/2336356#M104812</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am working with mongodb. My collection has 2 array fields. In both array I will have some values. In tmongooutput, I have successfully created one array field which is grouped by a primary key. But I am not able to set the other array field. I noticed that I can only set one element as loop element at a time.&amp;nbsp; Input is csv.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone please give a solution how to create a collection which has 2 array fields? any way to set 2 loop elements?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ravinder&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:19:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:19:11Z</dc:date>
    <item>
      <title>tMongoDBOutput include two array types in collection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBOutput-include-two-array-types-in-collection/m-p/2336356#M104812</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am working with mongodb. My collection has 2 array fields. In both array I will have some values. In tmongooutput, I have successfully created one array field which is grouped by a primary key. But I am not able to set the other array field. I noticed that I can only set one element as loop element at a time.&amp;nbsp; Input is csv.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone please give a solution how to create a collection which has 2 array fields? any way to set 2 loop elements?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ravinder&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBOutput-include-two-array-types-in-collection/m-p/2336356#M104812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBOutput include two array types in collection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBOutput-include-two-array-types-in-collection/m-p/2336357#M104813</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please elaborate your case with an example with input and expected output values?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 08:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBOutput-include-two-array-types-in-collection/m-p/2336357#M104813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-14T08:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBOutput include two array types in collection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBOutput-include-two-array-types-in-collection/m-p/2336358#M104814</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have calculated daily ratings for some shows. Now I have to create a collection where I have show name as group column, daily ratings and weekly ratings will be stored in an array. So if we take just week 27, we will have one record for each show and it will have daily ratings as an array with (7 elements) and weekly ratings array (1 element). I am able to create collection with either weekly ratings array or daily ratings array, but not both at once.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Workaround: I have solved the problem but it takes intermediate steps. I create 2 collections for daily and weekly and then join them on show_name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any better solution please suggest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Ravinder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 10:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBOutput-include-two-array-types-in-collection/m-p/2336358#M104814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T10:05:14Z</dc:date>
    </item>
  </channel>
</rss>

