<?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: Script Execution Progress &amp;quot;-1 &amp;lt;&amp;lt;&amp;quot; lines fetched in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252438#M707366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you Miguel.&amp;nbsp; I am curious why it doesn't do this with my other joins where i only label the table once before first load and I do not label the join loads.&amp;nbsp; The script progress does not add the -1 to each of these.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 19:40:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-05T19:40:21Z</dc:date>
    <item>
      <title>Script Execution Progress "-1 &lt;&lt;" lines fetched</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252432#M707360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="text-align: left;"&gt;The below script execution progress results displays a "-1" when fetching the rows to Left Join records to a table called TblMetrics.I have never seen this before.&amp;nbsp; What does the -1 refer to?&amp;nbsp; It results in one TblMetrics but I am not sure what could be wrong.&amp;nbsp; So far, the data validation is looking good but I am concerned over the unknown.&amp;nbsp; This does not happen with any of my other Left Joins.&lt;SPAN style="font-size: 10pt;"&gt;&lt;DIV&gt;TblMetrics &amp;lt;&amp;lt; Temp1 2,666,763 lines fetched&lt;BR /&gt; TblMetrics&lt;STRONG&gt;-1&lt;/STRONG&gt; &amp;lt;&amp;lt; RefIAPEC2PilotPartners 51 lines fetched &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 04:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252432#M707360</guid>
      <dc:creator />
      <dc:date>2012-01-05T04:02:47Z</dc:date>
    </item>
    <item>
      <title>Script Execution Progress "-1 &lt;&lt;" lines fetched</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252433#M707361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think "TblMetrics-1" is a name of a temporary table during join (because of a TblName: label somewhere before the loadstatement, QlikView would like to name that table "TblMetrics", however, "TblMetrics" already exists, so it appends "-1" to the name). If it gets dropped after join and does not appear in the model, I wouldn't worry about it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 14:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252433#M707361</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2012-01-05T14:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script Execution Progress "-1 &lt;&lt;" lines fetched</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252434#M707362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.  I haven’t seen this before.  Maybe it is because there are too many resident tables, not sure what is going on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 14:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252434#M707362</guid>
      <dc:creator />
      <dc:date>2012-01-05T14:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Script Execution Progress "-1 &lt;&lt;" lines fetched</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252435#M707363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just remembered where have I seen that - maybe there is one extra table label somewhere. Something like this:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;TBL:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, B&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TBL:&lt;/P&gt;&lt;P&gt;Left Join (TBL)&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2, F3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, a value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, b value&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;TBL &amp;lt;&amp;lt; INLF6E 4 lines fetched&lt;/P&gt;&lt;P&gt;TBL-1 &amp;lt;&amp;lt; INLF6F 2 lines fetched&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second label is not necessary, but neither it does anything bad except making TBL-1 appear in log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 15:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252435#M707363</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2012-01-05T15:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Script Execution Progress "-1 &lt;&lt;" lines fetched</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252436#M707364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you.&amp;nbsp; I just searched my script and I only found the TblMetrics: in there one time.&amp;nbsp; So far I am seeing no problems so guessing it is working fine. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 15:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252436#M707364</guid>
      <dc:creator />
      <dc:date>2012-01-05T15:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script Execution Progress "-1 &lt;&lt;" lines fetched</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252437#M707365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to what Kuba aptly shows in the script, you may have tables without labels, and regardless the table is concatenated or joined, it may appear with the same name with the "-1", "-2" and so on if they are not labelled. That's why it's always a good practice to label each table you load, so you can check the log and see more clearly what happens when, although the resulting table name is different i.e: a JOIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example of Kuba, you simply change the second "TBL:" to "TBL2:" and you will see this in the log and in the progress window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to your original post, the LOAD that corresponds to the source table RefIAPEC2PilotPartners is not labelled, and I guess that the previous table labelled is TblMetrics, therefore the "-1" when the RefIAPEC2PilotPartners loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 16:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252437#M707365</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-01-05T16:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script Execution Progress "-1 &lt;&lt;" lines fetched</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252438#M707366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you Miguel.&amp;nbsp; I am curious why it doesn't do this with my other joins where i only label the table once before first load and I do not label the join loads.&amp;nbsp; The script progress does not add the -1 to each of these.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 19:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252438#M707366</guid>
      <dc:creator />
      <dc:date>2012-01-05T19:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Script Execution Progress "-1 &lt;&lt;" lines fetched</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252439#M707367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV seems to create an temporay table to store the results of the load statement before actually joining these results to the original table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically, you won't assign a name to this temporary table, and QV uses the last table name to which data is loaded to / appended to.&lt;/P&gt;&lt;P&gt;However, QV won't concatenate to this table, and thus add the "-1" to create a unique table name (similar to NOCONCATENATE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the join this temporary table is dropped automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fix the output in the trace, I tend to assing a name to this temporary table... (above the join statement), as in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Table A]:&lt;/P&gt;&lt;P&gt;Load ....&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Table B]:&lt;/P&gt;&lt;P&gt;Load ...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Table A Temporary Join Table]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // To make trace output more meaningfull&lt;/P&gt;&lt;P&gt;LEFT JOIN ([TABLE A])&lt;/P&gt;&lt;P&gt;Load ....&lt;/P&gt;&lt;P&gt;Resident [Table B]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 14:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Execution-Progress-quot-1-lt-lt-quot-lines-fetched/m-p/252439#M707367</guid>
      <dc:creator />
      <dc:date>2013-02-11T14:36:13Z</dc:date>
    </item>
  </channel>
</rss>

