<?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: tFileInputExcel NB_LINE count is sometimes wrong in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366946#M130375</link>
    <description>I would say yes. Open a bug report. The counter should reflect the number of rows you get in the output flow (without rejects) - in your case 675.&amp;nbsp;</description>
    <pubDate>Sun, 24 Apr 2016 14:12:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-24T14:12:50Z</dc:date>
    <item>
      <title>tFileInputExcel NB_LINE count is sometimes wrong</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366944#M130373</link>
      <description>Hi, 
&lt;BR /&gt;I searched in the forum but did not find this error reported. 
&lt;BR /&gt;I have a job that reads an Excel file, processes it (with tMaps, ...) and output a CSV.&amp;nbsp; 
&lt;BR /&gt;At the end of the job I check the number of lines in the final CSV output against the original file, to see if any line could not be processed. 
&lt;BR /&gt;The problem is the number of lines of the Excel file is not always correctly computed, adding 1 to the real number depending on the file. 
&lt;BR /&gt;Look at this example : 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/369990/Excel_input.jpg.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDeD.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129828iE2F34A0F5C644260/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDeD.jpg" alt="0683p000009MDeD.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;The real number of rows is 675, and that is the number I find in my CSV file, and that is reported by the tFlowMeter item. 
&lt;BR /&gt;But when I use the&amp;nbsp;tFileInputExcel_1_NB_LINE, it gives me an erroneous 676, which lets me think I "lost" a line between input and output... When in reality everything has been processed correctly. 
&lt;BR /&gt;Here is how my tFileInputExcel is set : 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/369990/Excel-input-2.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDyt.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151416i564FEC6C0C4C6AC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDyt.jpg" alt="0683p000009MDyt.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;As you can see, I checked the "Stop reading on encountering empty rows" 
&lt;BR /&gt;The problem is that even if it stops when encountering an empty row, it counts it, thus showing a wrong number. 
&lt;BR /&gt;To make sure of this, I saved the Excel as a CVS file, and found out that there are many many empty lines at the end of the file : some 500... 
&lt;BR /&gt;Here is what I think happens and to me is incorrect : 
&lt;BR /&gt; 
&lt;BR /&gt;Talend counts the not-empty lines, without counting the header. 
&lt;BR /&gt;Talend encounters an empty line, counts it&amp;nbsp;( 
&lt;FONT color="#ff3333"&gt;incorrect&lt;/FONT&gt;), then stops. 
&lt;BR /&gt; 
&lt;BR /&gt;Shall I open a bug ?</description>
      <pubDate>Sat, 16 Nov 2024 10:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366944#M130373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputExcel NB_LINE count is sometimes wrong</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366945#M130374</link>
      <description>Have you tried connecting the Reject output from tFileInputExcel to see if there is anything else going on?</description>
      <pubDate>Fri, 22 Apr 2016 17:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366945#M130374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-22T17:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputExcel NB_LINE count is sometimes wrong</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366946#M130375</link>
      <description>I would say yes. Open a bug report. The counter should reflect the number of rows you get in the output flow (without rejects) - in your case 675.&amp;nbsp;</description>
      <pubDate>Sun, 24 Apr 2016 14:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366946#M130375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-24T14:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputExcel NB_LINE count is sometimes wrong</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366947#M130376</link>
      <description>Hi,
&lt;BR /&gt;I created this bug :&amp;nbsp;
&lt;BR /&gt;
&lt;A href="https://jira.talendforge.org/browse/TDI-35934" target="_blank" rel="nofollow noopener noreferrer"&gt;Jira&lt;/A&gt;
&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 25 Apr 2016 10:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputExcel-NB-LINE-count-is-sometimes-wrong/m-p/2366947#M130376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-25T10:06:37Z</dc:date>
    </item>
  </channel>
</rss>

