<?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 Best approach to import relational data into complex JSON in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Best-approach-to-import-relational-data-into-complex-JSON/m-p/2324304#M94013</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know the general approach to import relational data into mongoDB. &amp;nbsp;I want to create a very complex document which uses all the one to many relationships in my relational database, so the document will be very complex and multiple levels deep.&lt;BR /&gt;&lt;BR /&gt;I am not sure of the approach, as the closest article I have come across seems to indicate you need to interface with the mongoDB API manually, but then fails to elaborate on how to add complexity to the document.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://open-bi.blogspot.co.uk/2013/10/loading-mongodb-with-talend-easy-way.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;http://open-bi.blogspot.co.uk/2013/10/loading-mongodb-with-talend-easy-way.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I managed to join 2 tables in a query, and create a tWriteJSONFields component to create an array for the many side of the join, but I seem able to only add one loop element. &amp;nbsp;I am likely going to need to bring together 20 tables into a complex document.&lt;BR /&gt;&lt;BR /&gt;As a side matter, my log component created beautiful JSON, but ,my downstream input into mongoDB...all the documents have the double quotes escaped with a backslash....but that's a separate issue.&lt;BR /&gt;&lt;BR /&gt;Any advice, links appreciated.&lt;BR /&gt;&lt;BR /&gt;Stephen&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:53:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:53:42Z</dc:date>
    <item>
      <title>Best approach to import relational data into complex JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-approach-to-import-relational-data-into-complex-JSON/m-p/2324304#M94013</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know the general approach to import relational data into mongoDB. &amp;nbsp;I want to create a very complex document which uses all the one to many relationships in my relational database, so the document will be very complex and multiple levels deep.&lt;BR /&gt;&lt;BR /&gt;I am not sure of the approach, as the closest article I have come across seems to indicate you need to interface with the mongoDB API manually, but then fails to elaborate on how to add complexity to the document.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://open-bi.blogspot.co.uk/2013/10/loading-mongodb-with-talend-easy-way.html" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;http://open-bi.blogspot.co.uk/2013/10/loading-mongodb-with-talend-easy-way.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I managed to join 2 tables in a query, and create a tWriteJSONFields component to create an array for the many side of the join, but I seem able to only add one loop element. &amp;nbsp;I am likely going to need to bring together 20 tables into a complex document.&lt;BR /&gt;&lt;BR /&gt;As a side matter, my log component created beautiful JSON, but ,my downstream input into mongoDB...all the documents have the double quotes escaped with a backslash....but that's a separate issue.&lt;BR /&gt;&lt;BR /&gt;Any advice, links appreciated.&lt;BR /&gt;&lt;BR /&gt;Stephen&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-approach-to-import-relational-data-into-complex-JSON/m-p/2324304#M94013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach to import relational data into complex JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-approach-to-import-relational-data-into-complex-JSON/m-p/2324305#M94014</link>
      <description>The approach I hear going around is two fold.
&lt;BR /&gt;1) De-Normalize to the lowest level
&lt;BR /&gt;2) If you have two or more loop at the lowest level do multiple passes mapping &amp;amp; merging</description>
      <pubDate>Wed, 23 Dec 2015 09:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-approach-to-import-relational-data-into-complex-JSON/m-p/2324305#M94014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T09:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach to import relational data into complex JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Best-approach-to-import-relational-data-into-complex-JSON/m-p/2324306#M94015</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;Thanks - but I probably need more detail.&amp;nbsp; What would be great is a reverse of this article:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://community.jaspersoft.com/blog/dealing-nested-documents-mongodb-and-talend-aka-baking-cake" target="_blank" rel="nofollow noopener noreferrer"&gt;http://community.jaspersoft.com/blog/dealing-nested-documents-mongodb-and-talend-aka-baking-cake&lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;Not asking you to write it of course &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; but I am new to Talend, and as this is a complicated task, mapping and merging is not enough detail for me - I wish it was ;-(.
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Stephen</description>
      <pubDate>Wed, 23 Dec 2015 09:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Best-approach-to-import-relational-data-into-complex-JSON/m-p/2324306#M94015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T09:15:23Z</dc:date>
    </item>
  </channel>
</rss>

