<?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 normalize a List to single String(see Example) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211048#M9230</link>
    <description>Before applying tNormalize on the field you can convert the data type using tConvertType or by using toString() in tJavaRow .</description>
    <pubDate>Wed, 05 Sep 2012 11:30:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-05T11:30:25Z</dc:date>
    <item>
      <title>How to normalize a List to single String(see Example)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211045#M9227</link>
      <description>Example: 
&lt;BR /&gt;I have a schema with id(String) and letters(List), and want to normalize this into key/letter.
&lt;BR /&gt;From: 
&lt;BR /&gt;Row number id(String) letters(List)
&lt;BR /&gt; 1 k1 
&lt;BR /&gt; 2 k2 
&lt;BR /&gt;to:
&lt;BR /&gt;
&lt;BR /&gt;Row number id(String) letters(List)
&lt;BR /&gt; 1 k1 a
&lt;BR /&gt; 2 k1 b
&lt;BR /&gt; 3 k1 d
&lt;BR /&gt; 4 k2 b
&lt;BR /&gt; 5 k2 d
&lt;BR /&gt; 6 k2 g
&lt;BR /&gt;Any component that do this ? 
&lt;BR /&gt;Audun</description>
      <pubDate>Wed, 05 Sep 2012 08:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211045#M9227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T08:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to normalize a List to single String(see Example)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211046#M9228</link>
      <description>Hi,&lt;BR /&gt;You can use tNormalize component for this job.&lt;BR /&gt;--&lt;BR /&gt;Regards,&lt;BR /&gt;Vinod</description>
      <pubDate>Wed, 05 Sep 2012 09:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211046#M9228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T09:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to normalize a List to single String(see Example)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211047#M9229</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Hi,&lt;BR /&gt;You can use tNormalize component for this job.&lt;BR /&gt;--&lt;BR /&gt;Regards,&lt;BR /&gt;Vinod&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Can´t, tNormalize works on String not List.&lt;BR /&gt;regards &lt;BR /&gt;Audun</description>
      <pubDate>Wed, 05 Sep 2012 10:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211047#M9229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T10:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to normalize a List to single String(see Example)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211048#M9230</link>
      <description>Before applying tNormalize on the field you can convert the data type using tConvertType or by using toString() in tJavaRow .</description>
      <pubDate>Wed, 05 Sep 2012 11:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211048#M9230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T11:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to normalize a List to single String(see Example)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211049#M9231</link>
      <description>Hi,&lt;BR /&gt;You can use below mentioned graph and code as sample.&lt;BR /&gt;Job Map&lt;BR /&gt;-----------&lt;BR /&gt;tFileInputDelimited --&amp;gt; tJavaRow --&amp;gt; tNormalize --&amp;gt; tLogRow&lt;BR /&gt;tFileInputDelimited Input&lt;BR /&gt;-------------------------&lt;BR /&gt;id;letters&lt;BR /&gt;k1;a,b,c&lt;BR /&gt;k2;d,e,f&lt;BR /&gt;tJavaRow code&lt;BR /&gt;--------------------&lt;BR /&gt;output_row.id = input_row.id;&lt;BR /&gt;output_row.letters = input_row.letters.toString().replace("", "");&lt;BR /&gt;Hope that helps.&lt;BR /&gt;--&lt;BR /&gt;Regards,&lt;BR /&gt;Vinod</description>
      <pubDate>Wed, 05 Sep 2012 11:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211049#M9231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T11:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to normalize a List to single String(see Example)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211050#M9232</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi,&lt;BR /&gt;You can use below mentioned graph and code as sample.&lt;BR /&gt;Job Map&lt;BR /&gt;-----------&lt;BR /&gt;tFileInputDelimited --&amp;gt; tJavaRow --&amp;gt; tNormalize --&amp;gt; tLogRow&lt;BR /&gt;tFileInputDelimited Input&lt;BR /&gt;-------------------------&lt;BR /&gt;id;letters&lt;BR /&gt;k1;a,b,c&lt;BR /&gt;k2;d,e,f&lt;BR /&gt;tJavaRow code&lt;BR /&gt;--------------------&lt;BR /&gt;output_row.id = input_row.id;&lt;BR /&gt;output_row.letters = input_row.letters.toString().replace("", "");&lt;BR /&gt;Hope that helps.&lt;BR /&gt;--&lt;BR /&gt;Regards,&lt;BR /&gt;Vinod&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Why convert a List to String before creating a Array ? It will create bigger memory footprint. tNormalize should support List normalize.</description>
      <pubDate>Wed, 05 Sep 2012 13:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211050#M9232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T13:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to normalize a List to single String(see Example)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211051#M9233</link>
      <description>Why not define letters as a string in your schema.</description>
      <pubDate>Wed, 05 Sep 2012 13:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-normalize-a-List-to-single-String-see-Example/m-p/2211051#M9233</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-09-05T13:48:11Z</dc:date>
    </item>
  </channel>
</rss>

