<?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 combine all the columns into a single column using tmap. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216691#M12593</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;Could you please elaborate your case with an example with input and expected output values?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;my input csv is. 
&lt;BR /&gt;ID,NAME,NUMBER,ADDRESS 
&lt;BR /&gt;1,john,888888,US 
&lt;BR /&gt;2,joel,999999,UK 
&lt;BR /&gt; 
&lt;BR /&gt;in this file extract firstline(columns.) like below. 
&lt;BR /&gt;ID,NAME,NUMBER,ADDRESS 
&lt;BR /&gt;and then from that create output like below.just append like "Comp_"+fieldvariable. 
&lt;BR /&gt;Comp_ID,Comp_NAME,Comp_NUMBER,Comp_ADDRESS 
&lt;BR /&gt; 
&lt;BR /&gt;Note: in this case i gave 4 columns(ID,NAME,NUMBER,ADDRESS). But in reality i have different csv files with 100 columns(vary for each file). 
&lt;BR /&gt;they also should do the same operation.using the same job (appending given text for each column). 
&lt;BR /&gt;Hope this information is enough to understand my problem.thanks.</description>
    <pubDate>Wed, 06 Jan 2016 08:57:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-06T08:57:32Z</dc:date>
    <item>
      <title>How to combine all the columns into a single column using tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216687#M12589</link>
      <description>Hi guys, 
&lt;BR /&gt;I have a csv file with columns col1,col2,col3,col4,col5. 
&lt;BR /&gt;i created a metadatadelimeted with 5 columns, and i used a 
&lt;B&gt;tmap&lt;/B&gt; to generate single column seperated by comma(,). 
&lt;BR /&gt;I want a regular expression to iterate all the columns and append to the resulted column , like for each column expression like in java. 
&lt;BR /&gt;String finalcol = null; 
&lt;BR /&gt;for each(Column col : allcolumns) { 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp; finalcol = finalcol + "," + col;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //requirement1. 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp; col = "mystring_" + col;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //requirement2. 
&lt;BR /&gt;} 
&lt;BR /&gt;dont tell newcol = col1+","+col2+","+.........etc. 
&lt;BR /&gt;because number of columns vary in my case.</description>
      <pubDate>Sat, 16 Nov 2024 10:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216687#M12589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine all the columns into a single column using tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216688#M12590</link>
      <description>It sounds like you simply want to read your file using tFileInputFullRow, unless I'm missing something.</description>
      <pubDate>Tue, 05 Jan 2016 12:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216688#M12590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T12:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine all the columns into a single column using tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216689#M12591</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;It sounds like you simply want to read your file using tFileInputFullRow, unless I'm missing something.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;yes tal00000 i tried tFileInputFullRow and aswell as tfileinputdelimited with limit 1, to get the first columns row.
&lt;BR /&gt;and i want to modify the column names as per the requirement. append some text, change case. and some modifications.</description>
      <pubDate>Tue, 05 Jan 2016 13:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216689#M12591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-05T13:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine all the columns into a single column using tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216690#M12592</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;and i want to modify the column names as per the requirement. append some text, change case. and some modifications.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;Could you please elaborate your case with an example with input and expected output values?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 06 Jan 2016 02:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216690#M12592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T02:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine all the columns into a single column using tmap.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216691#M12593</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;FONT face="Calibri"&gt;Could you please elaborate your case with an example with input and expected output values?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;my input csv is. 
&lt;BR /&gt;ID,NAME,NUMBER,ADDRESS 
&lt;BR /&gt;1,john,888888,US 
&lt;BR /&gt;2,joel,999999,UK 
&lt;BR /&gt; 
&lt;BR /&gt;in this file extract firstline(columns.) like below. 
&lt;BR /&gt;ID,NAME,NUMBER,ADDRESS 
&lt;BR /&gt;and then from that create output like below.just append like "Comp_"+fieldvariable. 
&lt;BR /&gt;Comp_ID,Comp_NAME,Comp_NUMBER,Comp_ADDRESS 
&lt;BR /&gt; 
&lt;BR /&gt;Note: in this case i gave 4 columns(ID,NAME,NUMBER,ADDRESS). But in reality i have different csv files with 100 columns(vary for each file). 
&lt;BR /&gt;they also should do the same operation.using the same job (appending given text for each column). 
&lt;BR /&gt;Hope this information is enough to understand my problem.thanks.</description>
      <pubDate>Wed, 06 Jan 2016 08:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-combine-all-the-columns-into-a-single-column-using-tmap/m-p/2216691#M12593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T08:57:32Z</dc:date>
    </item>
  </channel>
</rss>

