<?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: [HOW TO?] insert json array into postgreSQL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376074#M138336</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Unfortunately, I am not able to see the inline diagrams and they seem to be not accessible. Could you please add them again for reference?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Also, could you please add a tlogrow before sending the data to database to see the output JSON you are getting?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
    <pubDate>Tue, 13 Nov 2018 07:18:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-13T07:18:32Z</dc:date>
    <item>
      <title>[HOW TO?] insert json array into postgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376071#M138333</link>
      <description>&lt;P&gt;Good afternoon !&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I haven't been able to insert json array into a column postgresql database.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This is my job:&lt;/P&gt; 
&lt;P&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;File : Job&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What do i want?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to migrate data from a Mongo DB to PostgreSQL. I'm extracting data from my mongodb, using mongodbinput , and then i'm parsing the array because it comes with a weird syntax, like : [Document({"example":"example})] So the only thing i'm doing is to have this output:&lt;/P&gt; 
&lt;P&gt;[{"level":"1"," credits_per_hour":"2"," description":"hello"," _id":"571a02a8b4da67a67a744585"}','{"level":"2"," credits_per_hour":"1.5"," description":"hello"," _id":"571a02a8b4da67a67a744584"}','{"level":"3"," credits_per_hour":"1"," description":"hello"," _id":"571a02a8b4da67a67a744583"}] &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;Attention: this is type TEXT!&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;After this I want to insert into my data base that data.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;Schema of database:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;File: Schema&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;At&amp;nbsp;additional options, i'm converting the string to an json array. See the image below:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;File:Convert_to_array&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;However, it&amp;nbsp;throws me an error :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Detail: "[" must introduce explicitly-specified array dimensions.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I can't understand this message... And i have been around this for like 4 days, so it would be nice some help &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope you can help me,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks on advance!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 19:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376071#M138333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-31T19:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: [HOW TO?] insert json array into postgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376072#M138334</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Are you able to access values by using tExtractJsonFiled component?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376072#M138334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-28T08:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: [HOW TO?] insert json array into postgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376073#M138335</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the replay.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, I think so! I don't know the values are not being inserted into the database.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 16:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376073#M138335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-12T16:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: [HOW TO?] insert json array into postgreSQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376074#M138336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Unfortunately, I am not able to see the inline diagrams and they seem to be not accessible. Could you please add them again for reference?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Also, could you please add a tlogrow before sending the data to database to see the output JSON you are getting?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 07:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HOW-TO-insert-json-array-into-postgreSQL/m-p/2376074#M138336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-13T07:18:32Z</dc:date>
    </item>
  </channel>
</rss>

