<?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 tMap left outer join does not return null for unmatched row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244782#M30823</link>
    <description>Hi folks, 
&lt;BR /&gt;I use tMap for left outer join to multiple lookup tables. It returns NULL in the non key columns for unmatched rows as expected; however it DOES NOT return null but returns 0 (numeric zero) for key columns (no matter whether they are set as key in the schema) for unmatched rows. This is confusing, expected or not? 
&lt;BR /&gt;Please see in the screenshots below. 
&lt;BR /&gt;Product_Category_SK is set to 0 for unmatched rows; however I expect that to be NULL. This is set as key in the lookup schema, where in the MySQL Product_Category table, it is a PK. 
&lt;BR /&gt;Product_Price_SK is set to 0 for unmatched rows; again expected to be NULL. This was not set as key in the lookup schema, where in the MySQL Product_Price table, it is a PK. 
&lt;BR /&gt;How can I get them NULL for the unmatched rows? 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBK0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141042i8D1C93481F94D993/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBK0.png" alt="0683p000009MBK0.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBo9.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143899i221BEF999D66347B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBo9.png" alt="0683p000009MBo9.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBfJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143462iC647F9B2B5C61F13/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBfJ.png" alt="0683p000009MBfJ.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBTE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132791i774C72D14A214E73/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBTE.png" alt="0683p000009MBTE.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sun, 09 Oct 2016 13:18:40 GMT</pubDate>
    <dc:creator>umut_gulac</dc:creator>
    <dc:date>2016-10-09T13:18:40Z</dc:date>
    <item>
      <title>tMap left outer join does not return null for unmatched row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244782#M30823</link>
      <description>Hi folks, 
&lt;BR /&gt;I use tMap for left outer join to multiple lookup tables. It returns NULL in the non key columns for unmatched rows as expected; however it DOES NOT return null but returns 0 (numeric zero) for key columns (no matter whether they are set as key in the schema) for unmatched rows. This is confusing, expected or not? 
&lt;BR /&gt;Please see in the screenshots below. 
&lt;BR /&gt;Product_Category_SK is set to 0 for unmatched rows; however I expect that to be NULL. This is set as key in the lookup schema, where in the MySQL Product_Category table, it is a PK. 
&lt;BR /&gt;Product_Price_SK is set to 0 for unmatched rows; again expected to be NULL. This was not set as key in the lookup schema, where in the MySQL Product_Price table, it is a PK. 
&lt;BR /&gt;How can I get them NULL for the unmatched rows? 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBK0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141042i8D1C93481F94D993/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBK0.png" alt="0683p000009MBK0.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBo9.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143899i221BEF999D66347B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBo9.png" alt="0683p000009MBo9.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBfJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143462iC647F9B2B5C61F13/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBfJ.png" alt="0683p000009MBfJ.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBTE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132791i774C72D14A214E73/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBTE.png" alt="0683p000009MBTE.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sun, 09 Oct 2016 13:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244782#M30823</guid>
      <dc:creator>umut_gulac</dc:creator>
      <dc:date>2016-10-09T13:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: tMap left outer join does not return null for unmatched row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244783#M30824</link>
      <description>I suspect (I cannot see screen shots) this is related to having int values defined as NOT NULL. This is a complete guess, so may be way off, but I would check this.</description>
      <pubDate>Sun, 09 Oct 2016 15:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244783#M30824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-09T15:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: tMap left outer join does not return null for unmatched row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244784#M30825</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;I suspect (I cannot see screen shots) this is related to having int values defined as NOT NULL. This is a complete guess, so may be way off, but I would check this.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I checked that in tMap out schema and the output component (tMysqlSCD) schema. There I confirmed that I had set those Integer columns as Nullable.&lt;BR /&gt;Let me paste the whole job as well.</description>
      <pubDate>Sun, 09 Oct 2016 21:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244784#M30825</guid>
      <dc:creator>umut_gulac</dc:creator>
      <dc:date>2016-10-09T21:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: tMap left outer join does not return null for unmatched row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244785#M30826</link>
      <description>Any one, who has an idea about this, expected or problem ?</description>
      <pubDate>Wed, 19 Oct 2016 09:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-left-outer-join-does-not-return-null-for-unmatched-row/m-p/2244785#M30826</guid>
      <dc:creator>umut_gulac</dc:creator>
      <dc:date>2016-10-19T09:23:46Z</dc:date>
    </item>
  </channel>
</rss>

