<?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: tdenormalizesortedrow : difference with tdenormalize and  what does &amp;quot;Input rows count &amp;quot; do? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361320#M125711</link>
    <description>&lt;P&gt;In Talend, the tDenormalize component is used to transform and denormalize data from a normalized format to a denormalized format, whereas the tDenormalizeSortedRow component is specifically used when you want to denormalize data based on a sorted key column.&lt;/P&gt;&lt;P&gt;You would typically use tDenormalize when you have data in a normalized format, where related information is split into multiple rows, and you want to combine this information into a single row.&lt;/P&gt;&lt;P&gt;tDenormalizeSortedRow, on the other hand, is used when you have sorted data based on a key column, and you want to denormalize it based on this sorting. It is useful when you want to combine sorted rows with similar key values into a single row.&lt;/P&gt;&lt;P&gt;When you use tDenormalizeSortedRow, the "Input rows count" parameter specifies the number of sorted rows to be used to form a single denormalized row. For example, if you set the "Input rows count" to 5, it means that 5 sorted rows with the same key value will be combined into a single denormalized row.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 14:17:34 GMT</pubDate>
    <dc:creator>lcupito</dc:creator>
    <dc:date>2023-10-05T14:17:34Z</dc:date>
    <item>
      <title>tdenormalizesortedrow : difference with tdenormalize and  what does "Input rows count " do?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361319#M125710</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I understand what tdenormalize&amp;nbsp; does.&lt;/P&gt;&lt;P&gt;However, I don't know when i should use &lt;B&gt;tdenormalize&amp;nbsp;  &lt;/B&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;B&gt;tdenormalizesortedrow&amp;nbsp;.&lt;/B&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,  when I use &lt;B&gt;tdenormalizesortedrow&amp;nbsp;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;, what &lt;/P&gt;&amp;nbsp;does "Input rows count " do?&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put some random number for 'input rows count'  and it seems that when 'Input rows count' is actually greater than the number of rows for my input, the output is wrong in my vase below&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000mRDhsAAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154226i2CF42F130487EE9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000mRDhsAAG.png" alt="0695b00000mRDhsAAG.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000mRDiWAAW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155386i0ACBE375294240FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000mRDiWAAW.png" alt="0695b00000mRDiWAAW.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361319#M125710</guid>
      <dc:creator>android1686764069</dc:creator>
      <dc:date>2024-11-15T21:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: tdenormalizesortedrow : difference with tdenormalize and  what does "Input rows count " do?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361320#M125711</link>
      <description>&lt;P&gt;In Talend, the tDenormalize component is used to transform and denormalize data from a normalized format to a denormalized format, whereas the tDenormalizeSortedRow component is specifically used when you want to denormalize data based on a sorted key column.&lt;/P&gt;&lt;P&gt;You would typically use tDenormalize when you have data in a normalized format, where related information is split into multiple rows, and you want to combine this information into a single row.&lt;/P&gt;&lt;P&gt;tDenormalizeSortedRow, on the other hand, is used when you have sorted data based on a key column, and you want to denormalize it based on this sorting. It is useful when you want to combine sorted rows with similar key values into a single row.&lt;/P&gt;&lt;P&gt;When you use tDenormalizeSortedRow, the "Input rows count" parameter specifies the number of sorted rows to be used to form a single denormalized row. For example, if you set the "Input rows count" to 5, it means that 5 sorted rows with the same key value will be combined into a single denormalized row.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361320#M125711</guid>
      <dc:creator>lcupito</dc:creator>
      <dc:date>2023-10-05T14:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: tdenormalizesortedrow : difference with tdenormalize and  what does "Input rows count " do?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361321#M125712</link>
      <description>&lt;P&gt;thanks opr your reply.&lt;/P&gt;&lt;P&gt;I have to make some tests to understand what you wrote regarding tDenormalizeSortedRow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is one thing I stil:  don't really get. it's about the "Input rows count" parameter.&lt;/P&gt;&lt;P&gt;In your exsample with 5, it means i know that I have 5 rows with the same key.&lt;/P&gt;&lt;P&gt;However, in my csv, let's say I have 30 rows :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;5 of them may have the same keys,&lt;/LI&gt;&lt;LI&gt;then the other 10 of thems may have another same key&lt;/LI&gt;&lt;LI&gt;then the last 15 of them may have another same key&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What am i supposed to set as the "Input rows count" parameter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, does it that mean I use tDenormalizeSortedRow, the rows are supposed to be sorted?&lt;/P&gt;&lt;P&gt;in my example in my screesnhot, my csv is connected to tDenormalizeSortedRow, but now I understand i have to use a tSortRow compoment before, right?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 08:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361321#M125712</guid>
      <dc:creator>android1686764069</dc:creator>
      <dc:date>2023-10-06T08:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: tdenormalizesortedrow : difference with tdenormalize and  what does "Input rows count " do?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361322#M125713</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Input rows count" parameter in tDenormalizeSortedRow component refers to the number of rows you expect to group together based on a common key. In your case, where you have 30 rows with various keys, you should set this parameter to the total number of rows you have, which is 30. This parameter helps the component know how many rows to process as a group before denormalizing.&lt;/P&gt;&lt;P&gt;Regarding sorting, yes, you are correct. To use tDenormalizeSortedRow, your input rows should be sorted based on the key you want to denormalize. You can use the tSortRow component to sort your rows based on the key before feeding them into tDenormalizeSortedRow. This ensures that rows with the same key are processed together for denormalization. So, your job flow would typically be:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Read your CSV data.&lt;/LI&gt;&lt;LI&gt;Sort the rows using tSortRow based on the key.&lt;/LI&gt;&lt;LI&gt;Pass the sorted rows to tDenormalizeSortedRow, and set the "Input rows count" to 30 or the total number of rows you have.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This setup will help you correctly denormalize your data based on the common keys.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 09:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361322#M125713</guid>
      <dc:creator>lcupito</dc:creator>
      <dc:date>2023-10-06T09:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: tdenormalizesortedrow : difference with tdenormalize and  what does "Input rows count " do?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361323#M125714</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 12:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tdenormalizesortedrow-difference-with-tdenormalize-and-what-does/m-p/2361323#M125714</guid>
      <dc:creator>android1686764069</dc:creator>
      <dc:date>2023-10-10T12:18:14Z</dc:date>
    </item>
  </channel>
</rss>

