<?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: SCD Type2 without component issue in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204380#M5288</link>
    <description>&lt;P&gt;Hi Tnewbie,&lt;BR /&gt;Please imagine that we are inserting a new record from the source then when the lookup done the record will not be exist in the lookup table and here the SURRID = null.&lt;BR /&gt;I didn't use the component because as the&amp;nbsp; when a record updated I need the end date of the old record to be the start date of the new record minus 1 day not the&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8hk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129680iAF4D420AD95A5A62/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8hk.png" alt="0683p000009M8hk.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 21:11:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-09T21:11:05Z</dc:date>
    <item>
      <title>SCD Type2 without component issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204376#M5284</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I'm&amp;nbsp; creating SCD type 2 after getting data from SRC table and LKP table to tmap i'm creating a variable to show me what is the new record and what is the update record&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;new record condition : IF(ISNULL(SURRID)),True,False&lt;BR /&gt;update record condition : IF(NOT ISNULL(SURRID) AND SRC.EmailAddress Not Equal LKP.EmailAddress),True,False&amp;nbsp;&lt;BR /&gt;as shown below&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Xc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151333iFE209755AB18EB88/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Xc.png" alt="0683p000009M8Xc.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204376#M5284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2 without component issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204377#M5285</link>
      <description>&lt;P&gt;Hi Fawad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though i didnt find any documentation on Talend, which confirms this, my experience taught me use ".equal" vs "=" when you try to compare string values. See using&amp;nbsp;&lt;STRONG&gt;row2.SURRID.equals(null)&lt;/STRONG&gt; makes any difference.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 17:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204377#M5285</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-12-09T17:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2 without component issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204378#M5286</link>
      <description>&lt;P&gt;Hi Tnewbie,&lt;/P&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;I already tried it but it gives the error message&lt;BR /&gt;cannot invoke equals string on the primitive type int error.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 17:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204378#M5286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-09T17:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2 without component issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204379#M5287</link>
      <description>&lt;P&gt;Hi Fawaad,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your job design, looks like you are joining on CustomerID where SURRID seems to be a key column in your lookup table, so at any point of time you will never get your SURRID as null if you have a match, did you try checking the existence of CustomerID vs SURRID, additionally CustomerID is an int column so your query performance will also be elevated with int comparison vs string comparison.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, Is there a reason why you have to manually do the SCD2 determination, instead of using Talend built components? I am extensively using SCD components tDBSCD (SCD Type 2) and i don't have any issues so far. Did you try using SCD components?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 17:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204379#M5287</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-12-09T17:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2 without component issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204380#M5288</link>
      <description>&lt;P&gt;Hi Tnewbie,&lt;BR /&gt;Please imagine that we are inserting a new record from the source then when the lookup done the record will not be exist in the lookup table and here the SURRID = null.&lt;BR /&gt;I didn't use the component because as the&amp;nbsp; when a record updated I need the end date of the old record to be the start date of the new record minus 1 day not the&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8hk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129680iAF4D420AD95A5A62/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8hk.png" alt="0683p000009M8hk.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 21:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204380#M5288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-09T21:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2 without component issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204381#M5289</link>
      <description>&lt;P&gt;Fawaad,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure if i am understanding the problem correctly...anyway,&amp;nbsp;1 last things i would try suggesting from my end before i give up &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;You can probably try the tmap setting, where you can capture non matching records...pls check the attachment&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lwfn"&gt;tmap filter expressions.png&lt;/A&gt;</description>
      <pubDate>Mon, 09 Dec 2019 22:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-Type2-without-component-issue/m-p/2204381#M5289</guid>
      <dc:creator>tnewbie</dc:creator>
      <dc:date>2019-12-09T22:12:14Z</dc:date>
    </item>
  </channel>
</rss>

