<?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: Left Join and tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362624#M126722</link>
    <description>For the moment, it is necessary that at least one of your lookup's column be a nullable type. 
&lt;BR /&gt;Soon, a method call on the connection such as : 
&lt;BR /&gt; 
&lt;PRE&gt;rowB.hasMatched()&lt;/PRE&gt; 
&lt;BR /&gt;will be possible. 
&lt;BR /&gt;There is an issue on this subject 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCjCjCAK" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Installing-and-Upgrading/TOS-working-with-Microsoft-Terminal-Server-TSE/td-p/67063&lt;/A&gt;</description>
    <pubDate>Thu, 23 Apr 2009 15:36:25 GMT</pubDate>
    <dc:creator>amaumont</dc:creator>
    <dc:date>2009-04-23T15:36:25Z</dc:date>
    <item>
      <title>Left Join and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362621#M126719</link>
      <description>Hi, &lt;BR /&gt;I have some questions about joins in the tMap component.&lt;BR /&gt;1/ If I use a left join (ie inner join is unchecked) between rowA and rowB, what does happen to the rowB structure when no rows matches the rowA ? Does rowB equals to null ? Or does rowB exists but with each of its field equal to null ?&lt;BR /&gt;2/ How can I test in the tMap if rowA did found a match or not ?&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Sat, 16 Nov 2024 13:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362621#M126719</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362622#M126720</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;1/ If I use a left join (ie inner join is unchecked) between rowA and rowB, what does happen to the rowB structure when no rows matches the rowA ? Does rowB equals to null ? Or does rowB exists but with each of its field equal to null ?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;The columns from rowB will be null. see 1659.
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;2/ How can I test in the tMap if rowA did found a match or not ?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Link the output table to tLogRow which is used to display the result on console.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 23 Apr 2009 08:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362622#M126720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-23T08:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362623#M126721</link>
      <description>Hi shong, 
&lt;BR /&gt;thanks for your reply. 
&lt;BR /&gt;So if rowA doesn't match rowB, all non nullable fields of rowB get default values ? 
&lt;BR /&gt;0 for integers, "" for Strings, 01/01/1970 for Dates and so on ? 
&lt;BR /&gt;That's really surprising... 
&lt;BR /&gt;So, how can I distinguish the case where rowB did match or not in the following case: 
&lt;BR /&gt;rowA (int id, String name) 
&lt;BR /&gt;0, Peter 
&lt;BR /&gt;1, John 
&lt;BR /&gt;2, Mark 
&lt;BR /&gt;rowB (int id, int amount) 
&lt;BR /&gt;1, 15 
&lt;BR /&gt;2, 10 
&lt;BR /&gt;After a left join I get: (id, name, amount) 
&lt;BR /&gt;0, Peter, 0 
&lt;BR /&gt;1, John, 15 
&lt;BR /&gt;2, Mark, 10 
&lt;BR /&gt;How do I know if Peter has an amount of 0 because it exists in rowB or if Peter doesn't exist in rowB ?</description>
      <pubDate>Thu, 23 Apr 2009 14:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362623#M126721</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-04-23T14:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362624#M126722</link>
      <description>For the moment, it is necessary that at least one of your lookup's column be a nullable type. 
&lt;BR /&gt;Soon, a method call on the connection such as : 
&lt;BR /&gt; 
&lt;PRE&gt;rowB.hasMatched()&lt;/PRE&gt; 
&lt;BR /&gt;will be possible. 
&lt;BR /&gt;There is an issue on this subject 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCjCjCAK" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Installing-and-Upgrading/TOS-working-with-Microsoft-Terminal-Server-TSE/td-p/67063&lt;/A&gt;</description>
      <pubDate>Thu, 23 Apr 2009 15:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362624#M126722</guid>
      <dc:creator>amaumont</dc:creator>
      <dc:date>2009-04-23T15:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join and tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362625#M126723</link>
      <description>&amp;gt; For the moment, it is necessary that at least one of your lookup's column be a nullable type 
&lt;BR /&gt;Hi, even that is not a sufficient condition because the column could be null in the input data but ok, I will wait for the hasMatched() function. 
&lt;BR /&gt;Regards.</description>
      <pubDate>Thu, 23 Apr 2009 15:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Left-Join-and-tMap/m-p/2362625#M126723</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-04-23T15:43:49Z</dc:date>
    </item>
  </channel>
</rss>

