<?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 Re: Write embedded array fields to MongoDB in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Write-embedded-array-fields-to-MongoDB/m-p/2341881#M109800</link>
    <description>Hi&amp;nbsp;
&lt;BR /&gt;If you want to merge the columns from different data sources, you can add a key column to each input data, and then do an inner join to get the data like this:
&lt;BR /&gt;user1;password;client1
&lt;BR /&gt;user1;password;client2
&lt;BR /&gt;user1;password;client3
&lt;BR /&gt;
&lt;BR /&gt;Please refers to this 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=190513450" target="_blank" rel="nofollow noopener noreferrer"&gt;article&lt;/A&gt; to learn how to do an inner job.&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;on tMongoDBOutput, check the 'Generate json document' box, group by user and password columns, and set clientID column as loop element.&amp;nbsp;</description>
    <pubDate>Mon, 15 Feb 2016 05:25:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-15T05:25:54Z</dc:date>
    <item>
      <title>Write embedded array fields to MongoDB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Write-embedded-array-fields-to-MongoDB/m-p/2341880#M109799</link>
      <description>&lt;P&gt;I've an entity on my MongoDB like:&lt;/P&gt; 
&lt;PRE&gt;{&lt;BR /&gt; &amp;nbsp; "user": "user1",&lt;BR /&gt; &amp;nbsp; "password": "password",&lt;BR /&gt; &amp;nbsp; "clients": ["client1", "client2", "client3"]&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;P&gt;&lt;BR /&gt;I've created a tRowGenerator component in order to generate data for {user, password} schema.&lt;BR /&gt;By other hand, I've created another tRowGenerator for creating dummy client codes.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH8X.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137814i028B20C1AA99AB55/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH8X.png" alt="0683p000009MH8X.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 08:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Write-embedded-array-fields-to-MongoDB/m-p/2341880#M109799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-12T08:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Write embedded array fields to MongoDB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Write-embedded-array-fields-to-MongoDB/m-p/2341881#M109800</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;If you want to merge the columns from different data sources, you can add a key column to each input data, and then do an inner join to get the data like this:
&lt;BR /&gt;user1;password;client1
&lt;BR /&gt;user1;password;client2
&lt;BR /&gt;user1;password;client3
&lt;BR /&gt;
&lt;BR /&gt;Please refers to this 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=190513450" target="_blank" rel="nofollow noopener noreferrer"&gt;article&lt;/A&gt; to learn how to do an inner job.&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;on tMongoDBOutput, check the 'Generate json document' box, group by user and password columns, and set clientID column as loop element.&amp;nbsp;</description>
      <pubDate>Mon, 15 Feb 2016 05:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Write-embedded-array-fields-to-MongoDB/m-p/2341881#M109800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-15T05:25:54Z</dc:date>
    </item>
  </channel>
</rss>

