<?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: Create multiple output rows for one input row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294123#M67032</link>
    <description>Hi&lt;BR /&gt;You can divide by using a tMap in two flows. (one with responsible &amp;amp; one with executor) then output both in temp files. Then you load the temp files and "unite" flows.&lt;BR /&gt;You can also unite your flows in a single temp file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Lie</description>
    <pubDate>Wed, 26 May 2010 11:05:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-05-26T11:05:46Z</dc:date>
    <item>
      <title>Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294122#M67031</link>
      <description>Hello,
&lt;BR /&gt;i'm new in working with Talend Open Studio (TOS opensource edition).
&lt;BR /&gt;In our datamigration project we have the following requirement in data transformation.
&lt;BR /&gt;we have a input table with the folling structure:
&lt;BR /&gt;orderid | descritpion | responsible| executor | ... 
&lt;BR /&gt;--------------------------------------------------------
&lt;BR /&gt;4711 | bla1 | Frank | Peter
&lt;BR /&gt;4712 | blabla | John | 
&lt;BR /&gt;4713 | sdjfklsj | James | Bart
&lt;BR /&gt;what i need as an output must look like this:
&lt;BR /&gt;id | orderid | function | name 
&lt;BR /&gt;-------------------------------------
&lt;BR /&gt;0815 | 4711 | responsible | Frank
&lt;BR /&gt;0816 | 4711 | executor | Peter 
&lt;BR /&gt;0817 | 4712 | responsible | John
&lt;BR /&gt;0818 | 4713 | responsible | James 
&lt;BR /&gt;0819 | 4713 | executor | Bart
&lt;BR /&gt;So i have to create a output row for a column content and the output row has a foreign key (orderid) to the input table. The id in the output table can be generated. With our own ETL Tool we can fit these requirements and i am sure TOS can also.
&lt;BR /&gt;But how?</description>
      <pubDate>Sat, 16 Nov 2024 13:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294122#M67031</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294123#M67032</link>
      <description>Hi&lt;BR /&gt;You can divide by using a tMap in two flows. (one with responsible &amp;amp; one with executor) then output both in temp files. Then you load the temp files and "unite" flows.&lt;BR /&gt;You can also unite your flows in a single temp file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Lie</description>
      <pubDate>Wed, 26 May 2010 11:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294123#M67032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-26T11:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294124#M67033</link>
      <description>Thanks Lie, it work's !</description>
      <pubDate>Thu, 27 May 2010 09:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294124#M67033</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-05-27T09:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294125#M67034</link>
      <description>how can I perform reverse process where I have multiple rows for particular id. i want all record to one id should be in one row.I dont want to store in a file system</description>
      <pubDate>Thu, 27 May 2010 11:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294125#M67034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-27T11:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294126#M67035</link>
      <description>Shaky : 
&lt;BR /&gt;You can use a tMap. 
&lt;BR /&gt;row1 
&lt;BR /&gt;id | column1 
&lt;BR /&gt;row2 
&lt;BR /&gt;id | column2 
&lt;BR /&gt;output 
&lt;BR /&gt;id | column1 | column2 
&lt;BR /&gt; 
&lt;BR /&gt;Map row1.id to row2.id and output.id 
&lt;BR /&gt;Then map row1.column1 to output.column1 and row2.column2 to output.column2. 
&lt;BR /&gt;The reverse process is easy 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 27 May 2010 11:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294126#M67035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-27T11:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294127#M67036</link>
      <description>Did not understood how to do using tMap. Can you explain with screenshot? it would be gr8 help.</description>
      <pubDate>Thu, 27 May 2010 13:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294127#M67036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-27T13:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294128#M67037</link>
      <description>&lt;PRE&gt;rowExecutor :&lt;BR /&gt;1|executor|Millard&lt;BR /&gt;2|executor|Harry&lt;BR /&gt;3|executor|George&lt;BR /&gt;4|executor|James&lt;BR /&gt;5|executor|Harry&lt;BR /&gt;rowManager :&lt;BR /&gt;1|manager|John&lt;BR /&gt;2|manager|Rutherford&lt;BR /&gt;3|manager|Thomas&lt;BR /&gt;4|manager|John&lt;BR /&gt;5|manager|Grover&lt;BR /&gt;&lt;BR /&gt;Output :&lt;BR /&gt;1|Millard|John&lt;BR /&gt;2|Harry|Rutherford&lt;BR /&gt;3|George|Thomas&lt;BR /&gt;4|James|John&lt;BR /&gt;5|Harry|Grover&lt;/PRE&gt;&lt;BR /&gt;Hope my exemple is clear enough.</description>
      <pubDate>Thu, 27 May 2010 13:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294128#M67037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-27T13:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294129#M67038</link>
      <description>i have input like&lt;BR /&gt;id:1&lt;BR /&gt;name:ss&lt;BR /&gt;age:15&lt;BR /&gt;id:2&lt;BR /&gt;name:as&lt;BR /&gt;age:14&lt;BR /&gt;How can I do this in one row for each record</description>
      <pubDate>Thu, 27 May 2010 13:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294129#M67038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-27T13:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294130#M67039</link>
      <description>See my example below. This is the way I see it.&lt;BR /&gt;Use a tFileInputDelimited to separate your keys and values (set the separator to ":").&lt;BR /&gt;Set ids yor each of your rows as in my example below.&lt;BR /&gt;Then you could use my example above to unite your rows.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.</description>
      <pubDate>Thu, 27 May 2010 14:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294130#M67039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-27T14:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294131#M67040</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;You can divide by using a tMap in two flows. (one with responsible &amp;amp; one with executor) then output both in temp files. Then you load the temp files and "unite" flows.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Rather than sending the two tMap outputs to a file and then tUniting them, you can unite them directly in the tMap: when creating the second output within tMap just select the "Create join table from" option rather than the default "New output" option. There will then be only one flow out of the tMap but it will include the rows from both of the output tables within tMap.</description>
      <pubDate>Thu, 17 Mar 2011 00:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294131#M67040</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-03-17T00:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294132#M67041</link>
      <description>There is also from v4.2.0, the tSplitRow component...</description>
      <pubDate>Sun, 12 Jun 2011 03:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294132#M67041</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-06-12T03:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple output rows for one input row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294133#M67042</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;You can divide by using a tMap in two flows. (one with responsible &amp;amp; one with executor) then output both in temp files. Then you load the temp files and "unite" flows.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Rather than sending the two tMap outputs to a file and then tUniting them, you can unite them directly in the tMap: when creating the second output within tMap just select the "Create join table from" option rather than the default "New output" option. &amp;nbsp;There will then be only one flow out of the tMap but it will include the rows from both of the output tables within tMap. 
&lt;BR /&gt;Thanks for the answer... this worked for me 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 23 Nov 2016 12:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-multiple-output-rows-for-one-input-row/m-p/2294133#M67042</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-11-23T12:21:40Z</dc:date>
    </item>
  </channel>
</rss>

