<?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: Bug in synthetic key generation? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bug-in-synthetic-key-generation/m-p/535973#M200287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got feedback from QlikTech and they stated the the synthetic key generation is more or less buggy and broken. Therefore no bug fixing will happen in this area and hence the only solution is to manually create id columns for linking, e.g. using auto number or hash functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Sep 2013 08:55:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-23T08:55:47Z</dc:date>
    <item>
      <title>Bug in synthetic key generation?</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-in-synthetic-key-generation/m-p/535972#M200286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;during development of an rather unusual app I may have come across a bug in the synthetic key generation. I am not sure, therefore I want to ask if anybody can make sense out of the following behavior. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;All below is the minimal example I could come up with exhibiting the strange behavior. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The data model looks like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dm1.png" class="jive-image" height="179" src="https://community.qlik.com/legacyfs/online/46661_dm1.png" style="height: 179px; width: 339.92788461538464px;" width="340" /&gt;&lt;IMG alt="dm2.png" class="jive-image" height="230" src="https://community.qlik.com/legacyfs/online/46662_dm2.png" style="height: 230px; width: 305.66775244299674px;" width="306" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load in tables A, B, C a row of ones each and in table D a row of twos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview somehow seems to loose the connection between the key and data part of table D during synthetic key generation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" height="192" src="https://community.qlik.com/legacyfs/online/46663_1.png" style="width: 510px; height: 192px;" width="510" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image" height="170" src="https://community.qlik.com/legacyfs/online/46664_2.png" style="width: 511px; height: 169.78387096774193px;" width="511" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I check the synthetic tables created it show two lines of null values:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.png" class="jive-image" height="124" src="https://community.qlik.com/legacyfs/online/46666_3.png" style="height: 124px; width: 191.9304347826087px;" width="192" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I load Key_A = 2, Key_C = NULL, KeyD = 2 into table A, everything works as expected:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="4.png" class="jive-image" height="193" src="https://community.qlik.com/legacyfs/online/46667_4.png" style="width: 530.1066666666667px; height: 193px;" width="530" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="5.png" class="jive-image" height="93" src="https://community.qlik.com/legacyfs/online/46668_5.png" style="height: 92.5px; width: 185px;" width="185" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something obvious regarding the synthetic key generation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and with best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oliver Wienand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The load script, in case someone wants to recreate the issue in a personal edition:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;SET NullInterpret = NULL; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;TableA:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key_A, Key_C, Key_D&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 1, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;// Works if the following row is added to TableA&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;//&amp;nbsp; 2, NULL, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;TableB:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; Key_A, Key_B, Key_C&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; , 1&amp;nbsp;&amp;nbsp;&amp;nbsp; , 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;TableC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key_A, Key_B&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; , 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;TableD:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key_A, Key_D, Data_D&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 12:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-in-synthetic-key-generation/m-p/535972#M200286</guid>
      <dc:creator />
      <dc:date>2013-09-18T12:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in synthetic key generation?</title>
      <link>https://community.qlik.com/t5/QlikView/Bug-in-synthetic-key-generation/m-p/535973#M200287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got feedback from QlikTech and they stated the the synthetic key generation is more or less buggy and broken. Therefore no bug fixing will happen in this area and hence the only solution is to manually create id columns for linking, e.g. using auto number or hash functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 08:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bug-in-synthetic-key-generation/m-p/535973#M200287</guid>
      <dc:creator />
      <dc:date>2013-09-23T08:55:47Z</dc:date>
    </item>
  </channel>
</rss>

