<?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 Creating MongoDB document structure in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Creating-MongoDB-document-structure/m-p/2289654#M63007</link>
    <description>&lt;P&gt;Hello - I need to insert data from Oracle to MongoDB after certain transformation.&lt;/P&gt;&lt;P&gt;The MongoDB document will have an Object to hold the Oracle data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Sample Input CSV created out of Oracle DB:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Mbr_id,Name,Age&lt;/I&gt;&lt;/P&gt;&lt;P&gt;2,Tim,22&lt;/P&gt;&lt;P&gt;---------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;B&gt;Sample Json expected in MongoDB&lt;/B&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&amp;nbsp;&lt;/P&gt;&lt;P&gt;	"date":"20200830",&lt;/P&gt;&lt;P&gt;	"detail":&lt;/P&gt;&lt;P&gt;	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;			"id":2,&lt;/P&gt;&lt;P&gt;		&amp;nbsp;	"name": "Tim",&lt;/P&gt;&lt;P&gt;			"age:22&lt;/P&gt;&lt;P&gt;		&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I am manually putting in the Parent Node for every field in tMongoDBOutput component. However, my actual structure has 1000 fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way I can import the MongoDB schema along with the Parent Node for every field and avoid manually entering Parent Node for 1000 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:33:54 GMT</pubDate>
    <dc:creator>Sambi09</dc:creator>
    <dc:date>2024-11-16T01:33:54Z</dc:date>
    <item>
      <title>Creating MongoDB document structure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-MongoDB-document-structure/m-p/2289654#M63007</link>
      <description>&lt;P&gt;Hello - I need to insert data from Oracle to MongoDB after certain transformation.&lt;/P&gt;&lt;P&gt;The MongoDB document will have an Object to hold the Oracle data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Sample Input CSV created out of Oracle DB:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Mbr_id,Name,Age&lt;/I&gt;&lt;/P&gt;&lt;P&gt;2,Tim,22&lt;/P&gt;&lt;P&gt;---------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;B&gt;Sample Json expected in MongoDB&lt;/B&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&amp;nbsp;&lt;/P&gt;&lt;P&gt;	"date":"20200830",&lt;/P&gt;&lt;P&gt;	"detail":&lt;/P&gt;&lt;P&gt;	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;			"id":2,&lt;/P&gt;&lt;P&gt;		&amp;nbsp;	"name": "Tim",&lt;/P&gt;&lt;P&gt;			"age:22&lt;/P&gt;&lt;P&gt;		&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I am manually putting in the Parent Node for every field in tMongoDBOutput component. However, my actual structure has 1000 fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way I can import the MongoDB schema along with the Parent Node for every field and avoid manually entering Parent Node for 1000 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-MongoDB-document-structure/m-p/2289654#M63007</guid>
      <dc:creator>Sambi09</dc:creator>
      <dc:date>2024-11-16T01:33:54Z</dc:date>
    </item>
  </channel>
</rss>

