<?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: Generating primary key sequence number for incremental load in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238313#M26463</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks. It works now.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 06:54:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-06T06:54:33Z</dc:date>
    <item>
      <title>Generating primary key sequence number for incremental load</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238311#M26461</link>
      <description>&lt;P&gt;I am using numeric sequence to generate primary key in a sequence. This works okay for a total load.&lt;/P&gt;
&lt;P&gt;But if I have to do any updates, then it overwrites the existing values.&lt;/P&gt;
&lt;P&gt;I tried using&amp;nbsp;Numeric.sequence("s1",(integer)globalMap.get("maxrow"),1).&lt;/P&gt;
&lt;P&gt;I used taggregateRow to get the max of the particular column and directed it to tsetGlobalVar but whenever I run the job, I get the error that numeric sequence accepts only integer and not object.&lt;/P&gt;
&lt;P&gt;Can anyone help me through this? Or are there any better way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 13:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238311#M26461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-05T13:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Generating primary key sequence number for incremental load</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238312#M26462</link>
      <description>&lt;P&gt;Try this one:&lt;/P&gt;&lt;PRE&gt;Numeric.sequence("s1",(Integer)globalMap.get("maxrow"),1)&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Nov 2019 17:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238312#M26462</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-11-05T17:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Generating primary key sequence number for incremental load</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238313#M26463</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks. It works now.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 06:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238313#M26463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-06T06:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generating primary key sequence number for incremental load</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238314#M26464</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I still have an issue. I am passing my rows through taggregate row and getting the max using tsetvariable. But when I call the global variable inside my expression builder, its value is null but when I pass it through tlogrow, it gives the correct value. Can you help me with this?&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="Screenshot (11).png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7ip.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134240iCF77C70B97211201/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7ip.png" alt="0683p000009M7ip.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="Screenshot (13).png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M848.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148290iCA0C243CE5879147/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M848.png" alt="0683p000009M848.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 10:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generating-primary-key-sequence-number-for-incremental-load/m-p/2238314#M26464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-06T10:14:16Z</dc:date>
    </item>
  </channel>
</rss>

