<?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: REG: Json file to Postgres tables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/REG-Json-file-to-Postgres-tables/m-p/2210647#M8980</link>
    <description>&lt;P&gt;Hi Prabuj&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to use following components:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;tS3List&lt;/LI&gt;
 &lt;LI&gt;tExtractJSONFields&lt;/LI&gt;
 &lt;LI&gt;tDbOutput or tPostgresqlOutput (depending on your Talend Studio version)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I assume the problem is with extracting the JSON. Your loop element is "$[*]", see attached screenshot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more information, just let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kr,&lt;/P&gt;
&lt;P&gt;Jvl7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lvnz"&gt;Screenshot_10.png&lt;/A&gt;</description>
    <pubDate>Fri, 23 Aug 2019 13:26:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-23T13:26:38Z</dc:date>
    <item>
      <title>REG: Json file to Postgres tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/REG-Json-file-to-Postgres-tables/m-p/2210646#M8979</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have&amp;nbsp; json file generating to s3 bucket to a folder every 10 mins,&amp;nbsp; i need to take that file and dump into postgres table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For Ex :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jsonfiletopostgres.JPG" style="width: 876px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M78w.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154821iB50534DDB6FFB2F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M78w.jpg" alt="0683p000009M78w.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How can i achieve that , I have TAC as well.&amp;nbsp; The json file belong to one table - name is common&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;here is the json file : how it look like ?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;[{"DateTime":"2016-09-03 14:00:00","Total_Crude_Flow_Rate_MBperDay":171.9602,"Actual_Yield_LGO_MBperDay":39.2051,"Actual_Yield_MVGO_MBperDay":22.5081,"Actual_Yield_HVGO_MBperDay":26.0575,"Actual_Yield_VGO_MBperDay":48.5655,"Actual_Yield_VR_MBperDay":22.8243,"Crude_Ambient_Temperature_DEGC":43.5956,"Desalter_Inlet_Temperature_1_DEGC":141.2322,"Desalter_Inlet_Temperature_2_DEGC":133.4597,"Resultant_Desalter_Inlet_Temperature_DEGC":138.3071,"Desalter_Outlet_Temperature_DEGC":141.5549,"Coil_Inlet_Temperature_DEGC":262.1993,"RunDate":"2019-07-26 12:51:07","SavedDate":"2019-07-26 17:49:21"}]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could someone let me know how to do it and share me with screenshot ? what's the loop query i have to use and how i can get it done.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Prabuj&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/REG-Json-file-to-Postgres-tables/m-p/2210646#M8979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: REG: Json file to Postgres tables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/REG-Json-file-to-Postgres-tables/m-p/2210647#M8980</link>
      <description>&lt;P&gt;Hi Prabuj&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to use following components:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;tS3List&lt;/LI&gt;
 &lt;LI&gt;tExtractJSONFields&lt;/LI&gt;
 &lt;LI&gt;tDbOutput or tPostgresqlOutput (depending on your Talend Studio version)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I assume the problem is with extracting the JSON. Your loop element is "$[*]", see attached screenshot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more information, just let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kr,&lt;/P&gt;
&lt;P&gt;Jvl7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lvnz"&gt;Screenshot_10.png&lt;/A&gt;</description>
      <pubDate>Fri, 23 Aug 2019 13:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/REG-Json-file-to-Postgres-tables/m-p/2210647#M8980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-23T13:26:38Z</dc:date>
    </item>
  </channel>
</rss>

