<?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: Numeric.sequence Troubleshooting in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-Troubleshooting/m-p/2364865#M128554</link>
    <description>&lt;P&gt;Hi Shong, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for telling me this.&lt;/P&gt;&lt;P&gt;I indeed have the same expression running twice in the same job, but assigned for different columns because of job design requirements.&lt;/P&gt;&lt;P&gt;I did not know that you arent supposed to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was able to solve this by adding a different postfix to the expression, so something like:&lt;/P&gt;&lt;P&gt;output_row.Assign_CourseId_Append = Numeric.sequence(input_row.Check_DuplicateID + "_Assign_CourseId_Append", 1, 1)&lt;/P&gt;&lt;P&gt;With this, the data turned out fine running in the same job.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 06:38:00 GMT</pubDate>
    <dc:creator>KamSH</dc:creator>
    <dc:date>2023-11-27T06:38:00Z</dc:date>
    <item>
      <title>Numeric.sequence Troubleshooting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-Troubleshooting/m-p/2364863#M128552</link>
      <description>&lt;P&gt;Hi guys, let's say I have a column called Check_DuplicateID.&lt;/P&gt;&lt;P&gt;I'll be using this Column to check for any repeating rows, for each repeating row, I'll increment the sequence number by 1. The starting number is 1.&lt;/P&gt;&lt;P&gt;The values will then be mapped to a column called Assign_CourseId_Append.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I input this code through the tJavaRow component like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000smPK8AAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145210i54D63DDFCC4C676E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000smPK8AAM.png" alt="0695b00000smPK8AAM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is, for all the rows in my data, the starting number is wrong immediately. Take this screenshot below as an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000smPJtAAM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150764i1E5EAD3198744E00/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000smPJtAAM.png" alt="0695b00000smPJtAAM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first row is already 11 instead of 1 and continues on to 19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is another example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000smPKDAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137416i74354D841E9E169B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000smPKDAA2.png" alt="0695b00000smPKDAA2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The first row starts with 3 instead of 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about troubleshooting this? What could potentially cause this?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-Troubleshooting/m-p/2364863#M128552</guid>
      <dc:creator>KamSH</dc:creator>
      <dc:date>2024-11-15T21:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric.sequence Troubleshooting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-Troubleshooting/m-p/2364864#M128553</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Go check if you use the same expression multiple times in the same job or you run the same subjob using multiple thread. &lt;/P&gt;&lt;P&gt;There's no reason why it starts at 11, so I'd like to check out your job design if you still can't find the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 07:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-Troubleshooting/m-p/2364864#M128553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-24T07:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric.sequence Troubleshooting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-Troubleshooting/m-p/2364865#M128554</link>
      <description>&lt;P&gt;Hi Shong, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for telling me this.&lt;/P&gt;&lt;P&gt;I indeed have the same expression running twice in the same job, but assigned for different columns because of job design requirements.&lt;/P&gt;&lt;P&gt;I did not know that you arent supposed to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was able to solve this by adding a different postfix to the expression, so something like:&lt;/P&gt;&lt;P&gt;output_row.Assign_CourseId_Append = Numeric.sequence(input_row.Check_DuplicateID + "_Assign_CourseId_Append", 1, 1)&lt;/P&gt;&lt;P&gt;With this, the data turned out fine running in the same job.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 06:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Numeric-sequence-Troubleshooting/m-p/2364865#M128554</guid>
      <dc:creator>KamSH</dc:creator>
      <dc:date>2023-11-27T06:38:00Z</dc:date>
    </item>
  </channel>
</rss>

