<?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: Normalize Mysql Table from horizontal to vertical in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343592#M111335</link>
    <description>instead file you can connect with MySQL and follow the same way, and pass output to MySQL. make me correct if i am wrong.</description>
    <pubDate>Wed, 21 May 2014 11:21:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-21T11:21:51Z</dc:date>
    <item>
      <title>Normalize Mysql Table from horizontal to vertical</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343588#M111331</link>
      <description>Hi,&lt;BR /&gt;i need to normalize an horizontal Mysql table to a vertical one. For example, from the format:&lt;BR /&gt;id  | Col1 | Col2 | Col3 | Col4 | Col5&lt;BR /&gt;id1| data11| data12| data13| data14| data15&lt;BR /&gt;id2| data21| data22| data23 | data24| data25 &lt;BR /&gt;to the format:&lt;BR /&gt;id     | Col1&lt;BR /&gt;id     | Col2&lt;BR /&gt;id     | Col3&lt;BR /&gt;id     | Col4&lt;BR /&gt;id     | Col5&lt;BR /&gt;id1   | data11&lt;BR /&gt;id1   | data 12&lt;BR /&gt;...         ...&lt;BR /&gt;I searched a lot here but this is done in talend via csv, but this is not the case. &lt;BR /&gt;I didn't find any component that does this kind of normalization, i'm trying to use a tJavaRow but it seems limited. &lt;BR /&gt;What would you use to make it?&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 21 May 2014 09:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343588#M111331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T09:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Mysql Table from horizontal to vertical</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343589#M111332</link>
      <description>Hi, 
&lt;BR /&gt;Please check similar thread 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCpSdCAK" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/How-to-convert-rows-into-columns/td-p/102244&lt;/A&gt; 
&lt;BR /&gt;Where I have given few steps to achieve the objective which is similar to your requirement 
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Wed, 21 May 2014 10:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343589#M111332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T10:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Mysql Table from horizontal to vertical</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343590#M111333</link>
      <description>yes you can normalise your data using tNormalize component. i am able to obtain desire output as you mention in initial post. 
&lt;BR /&gt;in tmap i have concatenated all the columns in single one except id column. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;row7.Column1+";"+row7.Column2+";"+row7.Column3+";"+row7.Column4+";"+row7.Column5&lt;/PRE&gt; 
&lt;BR /&gt;check the pictures for more information. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009ME0R.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157033i2BD998A00AC2A258/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009ME0R.png" alt="0683p000009ME0R.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEDj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135145i9832A8AAE4CD97C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEDj.png" alt="0683p000009MEDj.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEDo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148156i222A44E57C2FC2D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEDo.png" alt="0683p000009MEDo.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 21 May 2014 11:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343590#M111333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T11:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Mysql Table from horizontal to vertical</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343591#M111334</link>
      <description>actually this doesn't fit good with my scenario. 
&lt;BR /&gt;i prefer to take a Mysql Input with the row table shown before and transform each row into an array, 
&lt;BR /&gt;then pass the array to the Mysql Output. 
&lt;BR /&gt;This seems possible with a tJavaFlex, but i actually don't know if it's possibile with talend. 
&lt;BR /&gt;Do you have any hint?</description>
      <pubDate>Wed, 21 May 2014 11:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343591#M111334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T11:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Mysql Table from horizontal to vertical</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343592#M111335</link>
      <description>instead file you can connect with MySQL and follow the same way, and pass output to MySQL. make me correct if i am wrong.</description>
      <pubDate>Wed, 21 May 2014 11:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343592#M111335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T11:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize Mysql Table from horizontal to vertical</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343593#M111336</link>
      <description>yes, it's right, i'm quite there. &lt;BR /&gt;I didn't mentioned that i need to associate another column to the table, to normalize it:&lt;BR /&gt;id     | Col1  | id_of_Col1&lt;BR /&gt;id     | Col2  | id_of_Col2&lt;BR /&gt;id     | Col3  | id_of_Col3&lt;BR /&gt;id     | Col4  | id_of_Col4&lt;BR /&gt;id     | Col5  | id_of_Col5&lt;BR /&gt;id1   | data11  | id_of_Col1&lt;BR /&gt;id1   | data 12  | id_of_Col2&lt;BR /&gt;in order to associate every column to the related row. &lt;BR /&gt;What could the next step be?&lt;BR /&gt;Thank you for your help!!</description>
      <pubDate>Wed, 21 May 2014 11:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Normalize-Mysql-Table-from-horizontal-to-vertical/m-p/2343593#M111336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T11:58:19Z</dc:date>
    </item>
  </channel>
</rss>

