<?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: [resolved] left outer join outputs 0 instead of NULL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259959#M41265</link>
    <description>yes the schema permits null for the column(type Long). Screen shot below. 
&lt;BR /&gt;Basically because the input is null - no row will be found - hence we need not put in any value in the output field. Want it to go as NULL 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCTh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132986i39EA98E18D8CCCAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCTh.png" alt="0683p000009MCTh.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Fri, 30 Jan 2015 17:04:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-30T17:04:48Z</dc:date>
    <item>
      <title>[resolved] left outer join outputs 0 instead of NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259957#M41263</link>
      <description>Hi 
&lt;BR /&gt;I am loading data into a database table that has a nullable foreign key reference to a parent table. The logic is as follows - if the delimited file layout has the parent identifier field populated - lookup the parent table and get the value of the parent primary key(foreign key for child table) - otherwise load the record with foreign key as NULL 
&lt;BR /&gt;For this i do a left outer join on my map. However the outer join output for the null lookup is 0 - which results in an FK violation when it comes to the database. 
&lt;BR /&gt;Screen shot is below. Any tips on how to handle this 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Sid 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCWf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144354i159989FA0EA5DCB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCWf.png" alt="0683p000009MCWf.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 30 Jan 2015 15:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259957#M41263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T15:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] left outer join outputs 0 instead of NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259958#M41264</link>
      <description>does your schema permit nulls for that column?&amp;nbsp; If not you will get a default, 0&amp;nbsp; for numbers.</description>
      <pubDate>Fri, 30 Jan 2015 16:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259958#M41264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T16:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] left outer join outputs 0 instead of NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259959#M41265</link>
      <description>yes the schema permits null for the column(type Long). Screen shot below. 
&lt;BR /&gt;Basically because the input is null - no row will be found - hence we need not put in any value in the output field. Want it to go as NULL 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCTh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132986i39EA98E18D8CCCAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCTh.png" alt="0683p000009MCTh.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 30 Jan 2015 17:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259959#M41265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T17:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] left outer join outputs 0 instead of NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259960#M41266</link>
      <description>Hmm... I suspect that because hcp_id is a non null key column on the input it is getting treated as not null.&amp;nbsp; Can you try changing the input metadata to test this idea?</description>
      <pubDate>Fri, 30 Jan 2015 17:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259960#M41266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T17:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] left outer join outputs 0 instead of NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259961#M41267</link>
      <description>Mike&lt;BR /&gt;That was it.&lt;BR /&gt;Sid</description>
      <pubDate>Fri, 30 Jan 2015 18:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-left-outer-join-outputs-0-instead-of-NULL/m-p/2259961#M41267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T18:31:53Z</dc:date>
    </item>
  </channel>
</rss>

