<?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: Stop reading CSV file at empty row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Stop-reading-CSV-file-at-empty-row/m-p/2331894#M100830</link>
    <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;will use awk, the file can be very very very large.&lt;/P&gt;&lt;P&gt;regs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2017 18:32:23 GMT</pubDate>
    <dc:creator>husibilski</dc:creator>
    <dc:date>2017-09-05T18:32:23Z</dc:date>
    <item>
      <title>Stop reading CSV file at empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Stop-reading-CSV-file-at-empty-row/m-p/2331892#M100828</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm a Talend and Java newbie. I need your help for the following problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to read a CSV file, that has 2 parts:&lt;/P&gt;&lt;P&gt;part1&lt;/P&gt;&lt;P&gt;part1&lt;/P&gt;&lt;P&gt;part1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;---- empty row&lt;/P&gt;&lt;P&gt;part2&lt;/P&gt;&lt;P&gt;part2&lt;/P&gt;&lt;P&gt;part2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part2 will grow extremly and I need only part1. Can this be solved in Talend or is it better to use Powershell to prepare the data before?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, but my English is very poor.&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;</description>
      <pubDate>Sat, 16 Nov 2024 09:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Stop-reading-CSV-file-at-empty-row/m-p/2331892#M100828</guid>
      <dc:creator>husibilski</dc:creator>
      <dc:date>2024-11-16T09:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Stop reading CSV file at empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Stop-reading-CSV-file-at-empty-row/m-p/2331893#M100829</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can easily ignore the records after an empty has been detected, but you can't stop the reading process.&lt;/P&gt;
&lt;P&gt;To do that, set a global variable (lets say "Continue" for example) to True as soon an empty record is&amp;nbsp;detected (using tJavaRow) and in a tMap, add a filter expression to the output flow to ignore the record if the global is True:&lt;/P&gt;
&lt;PRE&gt;(Boolean)globalMap.get("Continue")&lt;/PRE&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 13:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Stop-reading-CSV-file-at-empty-row/m-p/2331893#M100829</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-09-05T13:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Stop reading CSV file at empty row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Stop-reading-CSV-file-at-empty-row/m-p/2331894#M100830</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;will use awk, the file can be very very very large.&lt;/P&gt;&lt;P&gt;regs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 18:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Stop-reading-CSV-file-at-empty-row/m-p/2331894#M100830</guid>
      <dc:creator>husibilski</dc:creator>
      <dc:date>2017-09-05T18:32:23Z</dc:date>
    </item>
  </channel>
</rss>

