<?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: Look Up mapping issue in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Look-Up-mapping-issue/m-p/2371745#M134650</link>
    <description>&lt;P&gt;Things to check: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;take care all String typed fields are trimmed in the source component.&lt;/LI&gt;&lt;LI&gt;your join condition expects in the lookup exact one record matching the join conditions. If there are more than one records the match will not accepted. or you change the join conditions to allow multiple lookup records with the same key.&lt;/LI&gt;&lt;LI&gt;are you sure the filter for the lookup records are correct? I would use here a context variable to be able to change that without changing the job itself.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 14:08:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-10-20T14:08:01Z</dc:date>
    <item>
      <title>Look Up mapping issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Look-Up-mapping-issue/m-p/2371744#M134649</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I’m new with Talend Cloud Studio and I’m getting stuck with the job I’m working on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;U&gt;Context&amp;nbsp;&lt;/U&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; My company uses an API directory (Genesys). So far, we use a .csv file to insert / update contacts. This file is generated from a database extract.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; We want to automatize this process with a Talend Job. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; (A) is my Contacts database extract.&lt;/P&gt;&lt;P&gt; (B) is my API (feeded from A) and used as look up component.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Because there is not always a common field between (A) and (B), we map most of (A) fields to (B)’s so input datas can be «&amp;nbsp;filtered&amp;nbsp;» and redirected to two disctincs output «&amp;nbsp;Inserted&amp;nbsp;» and «&amp;nbsp;Updated&amp;nbsp;».&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Please find my schema attached.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; My issue is the following&amp;nbsp;: despite differences between data in (A) and (B), every output are considered as «&amp;nbsp;inserted&amp;nbsp;» (aka new contacts in the directory) and not «&amp;nbsp;updated&amp;nbsp;».&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find my result attached.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; If anyone as any clue about what’s happening or need more details, feel free to ask me&amp;nbsp;!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Thanks by advance for your help.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Regards&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Look-Up-mapping-issue/m-p/2371744#M134649</guid>
      <dc:creator>mbetbeder1627023970</dc:creator>
      <dc:date>2024-11-15T23:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Look Up mapping issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Look-Up-mapping-issue/m-p/2371745#M134650</link>
      <description>&lt;P&gt;Things to check: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;take care all String typed fields are trimmed in the source component.&lt;/LI&gt;&lt;LI&gt;your join condition expects in the lookup exact one record matching the join conditions. If there are more than one records the match will not accepted. or you change the join conditions to allow multiple lookup records with the same key.&lt;/LI&gt;&lt;LI&gt;are you sure the filter for the lookup records are correct? I would use here a context variable to be able to change that without changing the job itself.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 14:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Look-Up-mapping-issue/m-p/2371745#M134650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-20T14:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Look Up mapping issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Look-Up-mapping-issue/m-p/2371746#M134651</link>
      <description>&lt;P&gt;Thank you very much for your answer, I do apologize coming to you so late.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After, checking the type of my fields,  I set the join conditions to "All Raw" and run again my job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got the following result : two lines are redirected to the "update" output file and four line are redirected to the "inserted" outputfile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a progress compare to my og post but one issue remains. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Common rows between input and look up files are catched as "updated" and inside the "inserted" output file one row should be considered as updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a bit confused about using context variable for this job. Did you mean writing custom java code using conditional clauses like "If" ? Am I suppose to use the "Var" section of the tmap pannel ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find below some screenshots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000KBiiEAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135433iF8F8D0F8DFE9027D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000KBiiEAAT.png" alt="0695b00000KBiiEAAT.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000KBihaAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144138i249160C7CC2D492F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000KBihaAAD.png" alt="0695b00000KBihaAAD.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000KBihVAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144214i9B5A2265C12B8D71/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000KBihVAAT.png" alt="0695b00000KBihVAAT.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 15:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Look-Up-mapping-issue/m-p/2371746#M134651</guid>
      <dc:creator>mbetbeder1627023970</dc:creator>
      <dc:date>2021-10-21T15:12:37Z</dc:date>
    </item>
  </channel>
</rss>

