<?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: Running sequence number while implementing SCD2 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231178#M21563</link>
    <description>&lt;P&gt;Please ignore the below scenario. There was a bug in my code which has been corrected now.&lt;/P&gt;&lt;P&gt;The below condition is correct:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Numeric.sequence("s1",context.max_id,1)&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2020 13:25:09 GMT</pubDate>
    <dc:creator>sushantk19</dc:creator>
    <dc:date>2020-06-26T13:25:09Z</dc:date>
    <item>
      <title>Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231168#M21553</link>
      <description>&lt;P&gt;How to implement Running Sequence Number(Auto increasing) like Skey from SCD component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Presently I have used the below logic:&lt;/P&gt; 
&lt;P&gt;Numeric.sequence("row1.id",1,1)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But this always start from 1 if i run my job again, causing duplicate in Skey values. Please suggest.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231168#M21553</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2024-11-16T02:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231169#M21554</link>
      <description>Use the one it will work ,what are you expecting. &lt;BR /&gt;Numeric.sequence("s1",1,1)&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Apr 2020 01:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231169#M21554</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-29T01:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231170#M21555</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;: Thanks! I will check that.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;By the way, I used the postgresqlSCD component and worked perfectly fine for my requirement! Is there any issue with this component for implementing SCD2?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 12:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231170#M21555</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-04-29T12:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231171#M21556</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvwAAG"&gt;@sushantk19&lt;/A&gt;, You can implement SCD2 with&amp;nbsp;&lt;SPAN&gt;postgresqlSCD component.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 14:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231171#M21556</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-29T14:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231172#M21557</link>
      <description>Yes, It works fine!</description>
      <pubDate>Tue, 05 May 2020 10:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231172#M21557</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-05-05T10:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231173#M21558</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;I got a issue here. Every time i run my job, sequence again starts from 1 and not as max(row count) in table. As an eg if i have 300 records in table with above sequence logic, the next time i load the data, the sequence no should be 301 and NOT 1 which is happening now. Please suggest what needs to be done here.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 11:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231173#M21558</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-05-06T11:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231174#M21559</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvwAAG"&gt;@sushantk19&lt;/A&gt;,in your job first you should read max value from that table keep in context or global variable and then in the next flow in the same job you need to connect both using on subjob ok and then you have to use a sequence like below .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Numeric.sequence("s1",context.max_id,1)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 11:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231174#M21559</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-06T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231175#M21560</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sorry for the late reply again. This logic is failing and i am getting some random value as the next value.&lt;/P&gt; 
&lt;P&gt;I tested the code today again with some more data from source. My max id =10. I got a new code from the source, so this new code should be inserted with the id as 11, but i am getting sometimes as 23 or sometimes as 28. Not sure what is happening. Please note my code field is string and ID is integer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;ID= Integer&lt;/P&gt; 
&lt;P&gt;code= string.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;whenever, a new code is found, it should increment the ID by 1.&lt;/P&gt; 
&lt;P&gt;Present logic is&amp;nbsp; ID=&lt;SPAN&gt;Numeric.sequence("s1",context.max_id,1), but its not working and giving me a random value as 23 or 28 after 10. please suggest what is going wrong here.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 12:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231175#M21560</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-06-26T12:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231176#M21561</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvwAAG"&gt;@sushantk19&lt;/A&gt;&amp;nbsp;, can you show your screenshot of mapping?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 12:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231176#M21561</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-06-26T12:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231177#M21562</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;: please find the screenshots attached.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Mb6w"&gt;extracting_source.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Mb71"&gt;mapping.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Mawx"&gt;max_id_defination_context.png&lt;/A&gt;</description>
      <pubDate>Fri, 26 Jun 2020 12:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231177#M21562</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-06-26T12:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Running sequence number while implementing SCD2</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231178#M21563</link>
      <description>&lt;P&gt;Please ignore the below scenario. There was a bug in my code which has been corrected now.&lt;/P&gt;&lt;P&gt;The below condition is correct:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Numeric.sequence("s1",context.max_id,1)&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 13:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-sequence-number-while-implementing-SCD2/m-p/2231178#M21563</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-06-26T13:25:09Z</dc:date>
    </item>
  </channel>
</rss>

