<?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 Truncate &amp; load data into DB at the end which has a tloop in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Truncate-load-data-into-DB-at-the-end-which-has-a-tloop/m-p/2290659#M63924</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in which I have to fetch the data from an API and store it in the database. &lt;/P&gt;&lt;P&gt;I want to implement truncate and load i.e. load the data from all pages into the DB everyday. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API has pagination. Hence, I am using a tloop to loop through the pages until it reaches the last page. But it truncates and loads the data for every page which is not what I intended. Please help me truncate the table once before it starts loading the data of each page into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My job:&lt;/P&gt;&lt;P&gt;tloop -- iterate-- thttprequest-&amp;gt;extract the fields &amp;amp; transformations(tmap) --main-- tmysloutput&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:31:46 GMT</pubDate>
    <dc:creator>deepsie</dc:creator>
    <dc:date>2024-11-16T01:31:46Z</dc:date>
    <item>
      <title>Truncate &amp; load data into DB at the end which has a tloop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Truncate-load-data-into-DB-at-the-end-which-has-a-tloop/m-p/2290659#M63924</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in which I have to fetch the data from an API and store it in the database. &lt;/P&gt;&lt;P&gt;I want to implement truncate and load i.e. load the data from all pages into the DB everyday. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The API has pagination. Hence, I am using a tloop to loop through the pages until it reaches the last page. But it truncates and loads the data for every page which is not what I intended. Please help me truncate the table once before it starts loading the data of each page into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My job:&lt;/P&gt;&lt;P&gt;tloop -- iterate-- thttprequest-&amp;gt;extract the fields &amp;amp; transformations(tmap) --main-- tmysloutput&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Truncate-load-data-into-DB-at-the-end-which-has-a-tloop/m-p/2290659#M63924</guid>
      <dc:creator>deepsie</dc:creator>
      <dc:date>2024-11-16T01:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Truncate &amp; load data into DB at the end which has a tloop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Truncate-load-data-into-DB-at-the-end-which-has-a-tloop/m-p/2290660#M63925</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;You can use a tMysqlRow to execute a truncate statement in the beginning of job. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 03:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Truncate-load-data-into-DB-at-the-end-which-has-a-tloop/m-p/2290660#M63925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-07T03:13:55Z</dc:date>
    </item>
  </channel>
</rss>

