<?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 [resolved] tMap Variable to create unique row number? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326043#M95573</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a simple job in Talend which uses a tMysqlInput to tFileOutputDelimited and it works perfectly.&lt;BR /&gt;However the end user has asked for an enhancement so that the report automatically generates the row number for each line on the report. As I am using MySQL i cannot just use ROWNUM() and when i have tried to set a variable (such as @ROW_NUMBER), Talend doesn't like it.&lt;BR /&gt;Does anyone have any experience or suggestions on how I can work this out?&lt;BR /&gt;I thought maybe a variable in a tMap component - but I have no java skills so wouldn't know how to begin writing such a thing.&lt;BR /&gt;Hope you can help!&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2016 16:24:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-05T16:24:31Z</dc:date>
    <item>
      <title>[resolved] tMap Variable to create unique row number?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326043#M95573</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a simple job in Talend which uses a tMysqlInput to tFileOutputDelimited and it works perfectly.&lt;BR /&gt;However the end user has asked for an enhancement so that the report automatically generates the row number for each line on the report. As I am using MySQL i cannot just use ROWNUM() and when i have tried to set a variable (such as @ROW_NUMBER), Talend doesn't like it.&lt;BR /&gt;Does anyone have any experience or suggestions on how I can work this out?&lt;BR /&gt;I thought maybe a variable in a tMap component - but I have no java skills so wouldn't know how to begin writing such a thing.&lt;BR /&gt;Hope you can help!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 16:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326043#M95573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T16:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap Variable to create unique row number?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326044#M95574</link>
      <description>Hello,
&lt;BR /&gt;Maybe in your Tmap you can create a variable like this one :
&lt;BR /&gt;Numeric.sequence("rowNumber",1,1) =&amp;gt; this variable begins at 1 and increment by step 1 the result.
&lt;BR /&gt;I hope it helps you.</description>
      <pubDate>Tue, 05 Jan 2016 16:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326044#M95574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap Variable to create unique row number?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326045#M95575</link>
      <description>Hi tdz,
&lt;BR /&gt;Many thanks - works exactly as I'd hoped!</description>
      <pubDate>Wed, 06 Jan 2016 09:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326045#M95575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T09:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap Variable to create unique row number?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326046#M95576</link>
      <description>&lt;P&gt;&lt;A href="https://faihofu.blogspot.com/2019/10/talend-rownumber-functionality-using.html" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://faihofu.blogspot.com/2019/10/talend-rownumber-functionality-using.html&lt;/A&gt;&lt;BR /&gt;is this blog post any use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it uses tMap to mimic the tsql row_number() over (partition by....) windows function&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-Variable-to-create-unique-row-number/m-p/2326046#M95576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-16T13:28:02Z</dc:date>
    </item>
  </channel>
</rss>

