<?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: how to generate row_number in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344562#M112204</link>
    <description>&lt;P&gt;You will NEVER outperform a DB manipulating data like this, with any other application that has to receive the data, then sort it. This is what databases are for. If you have all of your data in a single DB, you may as well carry out any sorting or calculations that can be carried out in the DB, in the DB. Then send it to other applications to be further processed. &lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2023 11:41:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-30T11:41:49Z</dc:date>
    <item>
      <title>how to generate row_number in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344558#M112200</link>
      <description>&lt;P&gt;hello, &lt;/P&gt;&lt;P&gt;Is there a solution to use this row_number in a tMap? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT AccountID,&lt;/P&gt;&lt;P&gt;             UserTagID,&lt;/P&gt;&lt;P&gt;             Status,&lt;/P&gt;&lt;P&gt;             LogDate,&lt;/P&gt;&lt;P&gt;             "row_number"() OVER (PARTITION BY UserTagID, AccountID, LogDate ORDER BY LogDate DESC) rn&lt;/P&gt;&lt;P&gt;      FROM log_user_tag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;Federico &lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344558#M112200</guid>
      <dc:creator>ffanali0804</dc:creator>
      <dc:date>2024-11-15T22:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate row_number in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344559#M112201</link>
      <description>&lt;P&gt;You can certainly add row numbers in the tMap, but if you are trying to replicate this query, why don't you just use this query in your DB component?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 17:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344559#M112201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-27T17:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate row_number in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344560#M112202</link>
      <description>&lt;P&gt;Take a look at sequence of the Numeric routine: https://help.talend.com/r/en-US/8.0/studio-user-guide/numeric-routines&lt;/P&gt;&lt;P&gt;We can do a partition like this:&lt;/P&gt;&lt;P&gt;Numeric.sequence(  row1.UserTagID+"__"+row1. AccountID+"__"+row1.LogDate  , 1, 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ORDER BY I'm afraid is only possible if you add a tSortRow to your flow.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 14:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344560#M112202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-29T14:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate row_number in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344561#M112203</link>
      <description>&lt;P&gt;I had actually tried this solution but I had doubts about the performance, so I wanted to compare it with the one with the tmap. If you confirm that they are similar then I would use the one you are proposing directly&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 10:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344561#M112203</guid>
      <dc:creator>ffanali0804</dc:creator>
      <dc:date>2023-01-30T10:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate row_number in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344562#M112204</link>
      <description>&lt;P&gt;You will NEVER outperform a DB manipulating data like this, with any other application that has to receive the data, then sort it. This is what databases are for. If you have all of your data in a single DB, you may as well carry out any sorting or calculations that can be carried out in the DB, in the DB. Then send it to other applications to be further processed. &lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 11:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344562#M112204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-30T11:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate row_number in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344563#M112205</link>
      <description>&lt;P&gt;Databases are made to run queries super fast. We're trying to maninpulate data that is not in the right order, etc. It can't be that efficient.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 11:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-generate-row-number-in-tmap/m-p/2344563#M112205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-30T11:48:06Z</dc:date>
    </item>
  </channel>
</rss>

