<?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 change column names every refresh in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278698#M54110</link>
    <description>&lt;P&gt;The schema column names do not matter, or maybe I do not understand. Why do you think your schema column names need to change? You could have 12 columns called "hello", "world", "empty", "ferrari", "sauber", "rolo", "jumper", "skateboard", "tea", "coffee", "milk" and "sugar", and your output data can be precisely as you want it without referencing any of the column names above.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Feb 2019 12:59:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-25T12:59:57Z</dc:date>
    <item>
      <title>How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278691#M54103</link>
      <description>&lt;P&gt;Hi. i need to refresh my workflow every month and there will be minor changes in the column headers every time. How do i make this change affect my workflow with minimum effort? i am using the Talend Open studio 6.5. Any suggestions are welcomed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 11:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278691#M54103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-20T11:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278692#M54104</link>
      <description>&lt;P&gt;Can you give an example of what you mean please? For example, changes in column headings could mean just the header names or could mean that they change order. How will the job know this has happened? What information is there to identify what has changed?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 11:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278692#M54104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-20T11:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278693#M54105</link>
      <description>&lt;P&gt;The order remains same. There will be these small changes, But I want these changes reflected.&lt;/P&gt; 
&lt;P&gt;Like when I unpivot the table I want to see the changes as my values.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sketch.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2lW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148755i8C320E3ED53CFEB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2lW.png" alt="0683p000009M2lW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 07:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278693#M54105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T07:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278694#M54106</link>
      <description>&lt;P&gt;So you will always have 12 columns? The column headers are simply dates? Do you actually need headers? What exactly are you trying to do with this data? It might be that you do not need to worry about column headers.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 10:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278694#M54106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T10:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278695#M54107</link>
      <description>&lt;P&gt;Yes, the structure of the data remains same(i.e., number of columns). Only the column names change. I will need the column names because I will unpivot the data and I want it to look like this. This happens every month. Like there will be 12 refreshes. So is there any way to change only the column names&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sketch.png" style="width: 631px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2lq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137493i6A07E7C858B4D5B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2lq.png" alt="0683p000009M2lq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 11:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278695#M54107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T11:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278696#M54108</link>
      <description>&lt;P&gt;I see. So how does your data arrive to Talend? The reason I ask is that there is no need to hard code your column names in Talend. You can omit the column names and simply ensure the first row of data for your output file holds your column names. Does that sound feasible?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 11:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278696#M54108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T11:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278697#M54109</link>
      <description>What about the column names stored in the schema? they did not change when i made changes to the file 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 25 Feb 2019 11:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278697#M54109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T11:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278698#M54110</link>
      <description>&lt;P&gt;The schema column names do not matter, or maybe I do not understand. Why do you think your schema column names need to change? You could have 12 columns called "hello", "world", "empty", "ferrari", "sauber", "rolo", "jumper", "skateboard", "tea", "coffee", "milk" and "sugar", and your output data can be precisely as you want it without referencing any of the column names above.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 12:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278698#M54110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T12:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278699#M54111</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOtPAAW"&gt;@Aishwarya&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;One of the solution :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You need to read header as another data record. As the number of Column are fixed (12)&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1) create a generic schema (all string )&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Col1&lt;/P&gt; 
&lt;P&gt;Col2&lt;/P&gt; 
&lt;P&gt;.&lt;/P&gt; 
&lt;P&gt;.&lt;/P&gt; 
&lt;P&gt;Col12&lt;/P&gt; 
&lt;P&gt;2) using tMap , split there in 12 different Output for each Col and add a sequence number for each Record and each Column.&lt;/P&gt; 
&lt;P&gt;So if Input&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A,B,C&lt;BR /&gt;1,2,3&lt;/P&gt; 
&lt;P&gt;then there will be 3 Output for each column&lt;/P&gt; 
&lt;P&gt;RouwNum, Column Number,Col Value&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1,1,A&lt;/P&gt; 
&lt;P&gt;2,1,1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1,2,B&lt;/P&gt; 
&lt;P&gt;2,2,2&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1,3,C&lt;/P&gt; 
&lt;P&gt;2,3,2&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3) Join all output of previous subjob using tJoin and sort on (Colnum and then ID)&lt;/P&gt; 
&lt;P&gt;1|1|A&lt;BR /&gt;2|1|1&lt;BR /&gt;1|2|B&lt;BR /&gt;2|2|2&lt;BR /&gt;1|3|C&lt;BR /&gt;2|3|3&lt;BR /&gt;&lt;BR /&gt;4) tdenormisesortrow on Colnum&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1|A,1&lt;BR /&gt;2|B,2&lt;BR /&gt;3|C,3&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;5) filter id field&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A,1&lt;BR /&gt;B,2&lt;BR /&gt;C,3&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So now even if colName change you will have correct result.&lt;/P&gt; 
&lt;P&gt;so for&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;X,Y,Z&lt;BR /&gt;1,2,3&lt;/P&gt; 
&lt;P&gt;result will be&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;X,1&lt;/P&gt; 
&lt;P&gt;Y,2&lt;/P&gt; 
&lt;P&gt;Z,3&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this will be helpful.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 15:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278699#M54111</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-25T15:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to change column names every refresh</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278700#M54112</link>
      <description>Just to add , above solution will work even if input has n number of row.</description>
      <pubDate>Mon, 25 Feb 2019 15:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-change-column-names-every-refresh/m-p/2278700#M54112</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-25T15:32:46Z</dc:date>
    </item>
  </channel>
</rss>

