<?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: Issue with intermediate variables in tMAP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279548#M54674</link>
    <description>Thanks a lot...the issue was == instead of equals method...&lt;BR /&gt;Can you please ellobratewhat you mean by:&lt;BR /&gt;"If you set the lookup to "Left Outer Join", only those records with a record in the lookup will have the lookup fields filled. "&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 09 Aug 2019 08:08:43 GMT</pubDate>
    <dc:creator>Rahul_Gijare</dc:creator>
    <dc:date>2019-08-09T08:08:43Z</dc:date>
    <item>
      <title>Issue with intermediate variables in tMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279546#M54672</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I am a newbee to Talend community. I have&amp;nbsp;&amp;nbsp;created a following job&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;row2&lt;/P&gt;
&lt;P&gt;inputfiledelimited_1 (Customer) Lookup to tmap&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tmap&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tlogrow&lt;/P&gt;
&lt;P&gt;row1&lt;/P&gt;
&lt;P&gt;Inputfiledelimited_2(Order) main to tMap&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inside tmap I am using intermediate variable to do a comparision between customer-kunnr and Order-kunnr&lt;/P&gt;
&lt;P&gt;some how this is not working:&lt;/P&gt;
&lt;P&gt;I have written code&lt;/P&gt;
&lt;P&gt;row1.kunnr==row2.kunnr?true:false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This gives compilation error&lt;/P&gt;
&lt;P&gt;I have attached screen shot for your referral.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;require community help here please.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 05:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279546#M54672</guid>
      <dc:creator>Rahul_Gijare</dc:creator>
      <dc:date>2019-08-09T05:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with intermediate variables in tMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279547#M54673</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Have you tried to remove that second variable which has no content assigned to it? Furthermore, if you want to compare strings in Java, you will have to use the equals method of the String object (but this should not prevent a successful compilation):&lt;/P&gt; 
&lt;PRE&gt;row1.kunnr.equals(row2.kunnr) ? true : false&lt;/PRE&gt; 
&lt;P&gt;Or even simpler:&lt;/P&gt; 
&lt;PRE&gt;row1.kunnr.equals(row2.kunnr)&lt;/PRE&gt; 
&lt;P&gt;Going a bit further with this, I do not really know what you want to achieve with such a comparison and with the resulting Boolean. If you set the lookup to "Left Outer Join", only those records with a record in the lookup will have the lookup fields filled. So if you are after this flag alone, do the following:&lt;/P&gt; 
&lt;P&gt;1. Set the Join Model to "Left Outer Join" (already the case).&lt;/P&gt; 
&lt;P&gt;2. Create a new field in the output with the following value:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;row2.kunnr != null&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;This new field will then be true if there is a lookup record and false if there is none.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 07:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279547#M54673</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2019-08-09T07:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with intermediate variables in tMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279548#M54674</link>
      <description>Thanks a lot...the issue was == instead of equals method...&lt;BR /&gt;Can you please ellobratewhat you mean by:&lt;BR /&gt;"If you set the lookup to "Left Outer Join", only those records with a record in the lookup will have the lookup fields filled. "&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2019 08:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279548#M54674</guid>
      <dc:creator>Rahul_Gijare</dc:creator>
      <dc:date>2019-08-09T08:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with intermediate variables in tMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279549#M54675</link>
      <description>&lt;P&gt;I'll try.. If you set up a lookup as a Left Outer Join, all the records from the input rows will be passed on to the output and the map tries to find a matching record in the lookup. If it does not find one, you could still pass your row2-fields in to output but they will be null. Therefore, if you do not have a match in your lookup, row2.kunnr would be null.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 08:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-intermediate-variables-in-tMAP/m-p/2279549#M54675</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2019-08-09T08:16:10Z</dc:date>
    </item>
  </channel>
</rss>

