<?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 How to read csv file from where it failed to load in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-csv-file-from-where-it-failed-to-load/m-p/2320037#M90220</link>
    <description>&lt;P&gt;I want to load a csv file into RDBMS. But, I want to design a job such that if loading fails in between, then it should start loading from where it failed. How can we design this job?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:46:57 GMT</pubDate>
    <dc:creator>firdos4u</dc:creator>
    <dc:date>2024-11-16T00:46:57Z</dc:date>
    <item>
      <title>How to read csv file from where it failed to load</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-csv-file-from-where-it-failed-to-load/m-p/2320037#M90220</link>
      <description>&lt;P&gt;I want to load a csv file into RDBMS. But, I want to design a job such that if loading fails in between, then it should start loading from where it failed. How can we design this job?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-csv-file-from-where-it-failed-to-load/m-p/2320037#M90220</guid>
      <dc:creator>firdos4u</dc:creator>
      <dc:date>2024-11-16T00:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to read csv file from where it failed to load</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-csv-file-from-where-it-failed-to-load/m-p/2320038#M90221</link>
      <description>&lt;P&gt;@Not defined Not defined​&amp;nbsp;,check the below link is useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/pzEsR9WAQlQkz4tFLp6TpA/omFXPdTqrImC7U0HX5iVVQ&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jan 2021 04:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-csv-file-from-where-it-failed-to-load/m-p/2320038#M90221</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2021-01-24T04:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to read csv file from where it failed to load</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-csv-file-from-where-it-failed-to-load/m-p/2320039#M90222</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming you're loading 1 CSV row = 1 RDBMS row, then you can achieve this, but does require some careful planning with the columns in your RDBMS. 1st of all, you'll need to have a column that represents the filename the source data came from, ensuring that each source CSV is a unique file name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you're given a file to load (or a failure from a previous execution), you count how many rows in the RDBMS have been loaded with that filename., so you might get back zero, some or all rows. When your job is running, use a tFilterRow to only allow rows where their row number (Numer.sequence) is greater than those loaded in the RDBMS. This also stops you reloading the same file twice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used a pattern like this when a DB connection we were using was a little flaky&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If these answers are useful, don't forget to give Kudos&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 17:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-csv-file-from-where-it-failed-to-load/m-p/2320039#M90222</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2021-02-01T17:40:12Z</dc:date>
    </item>
  </channel>
</rss>

