<?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: Can tMap improve/replace  tJavaRow solution in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284431#M58128</link>
    <description>&lt;P&gt;Thanks again, used tJavaRow to create the key i need to get the pivot i need&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output_row.ID = context.Added4Pivot;&lt;BR /&gt;output_row.Name = input_row.Name;&lt;BR /&gt;output_row.Value = input_row.Value;&lt;BR /&gt;if (output_row.Name.equals("LastRepeatingRow")) {&lt;BR /&gt;context.Added4Pivot++;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2019 23:34:34 GMT</pubDate>
    <dc:creator>asurbs19</dc:creator>
    <dc:date>2019-04-30T23:34:34Z</dc:date>
    <item>
      <title>Can tMap improve/replace  tJavaRow solution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284428#M58125</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Talend and I wonder if there is a better way to complete task&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have expected results with a tJavaRow but wondering if another component can do the same. I've&amp;nbsp; heard it mentioned to use tJavarow only if no other&amp;nbsp;component is available. I did not know how to configure tMap or another to get the same results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// File is&lt;BR /&gt;//&lt;BR /&gt;// Name;Jim&lt;BR /&gt;// BD;1/2/1994&lt;BR /&gt;// Gender;M&lt;BR /&gt;// Name;Joe&lt;BR /&gt;// BD;2/12/1984&lt;BR /&gt;// repeating Name, BD, Gender&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Formatting to&amp;nbsp;&lt;BR /&gt;// Name BD Gender&lt;BR /&gt;// Jim 1/2/1994 M&lt;BR /&gt;// Joe 2/12/1984 M&lt;BR /&gt;// etc..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;switch (row1.DataName){&lt;/P&gt;&lt;P&gt;case "Name":&lt;BR /&gt;context.ConcatValues = context.ConcatValues + row1.Value;&lt;BR /&gt;break;&lt;BR /&gt;&lt;BR /&gt;case "BD":&lt;BR /&gt;context.ConcatValues = context.ConcatValues + "|" + row1.Value;&lt;BR /&gt;break;&lt;/P&gt;&lt;P&gt;case "Gender":&lt;BR /&gt;context.ConcatValues = context.ConcatValues + "|" + row1.Value + "\r\n";&lt;BR /&gt;break;&lt;BR /&gt;&lt;BR /&gt;default:&lt;BR /&gt;break;&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 21:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284428#M58125</guid>
      <dc:creator>asurbs19</dc:creator>
      <dc:date>2019-04-26T21:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can tMap improve/replace  tJavaRow solution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284429#M58126</link>
      <description>&lt;P&gt;This may help&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCswoCAC" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/resolved-how-to-transform-row-to-column/td-p/60690&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 21:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284429#M58126</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-04-26T21:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can tMap improve/replace  tJavaRow solution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284430#M58127</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the link,&lt;/P&gt;&lt;P&gt;I have reviewed and see the need to add a key to allow the pivot to work properly.&lt;/P&gt;&lt;P&gt;The Numeric.sequence in the suggestion creates:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0; Name;Jim&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1; BD;1/2/1994&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2; Gender;M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0; Name;Joe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1; BD;2/12/1984&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2; Gender;M&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for pivot to work I&amp;nbsp;&lt;/SPAN&gt;believe i need&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0; Name;Jim&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0; BD;1/2/1994&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0; Gender;M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1; Name;Joe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1; BD;2/12/1984&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1; Gender;M&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can&amp;nbsp;Numeric.sequence be configured to do such?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 20:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284430#M58127</guid>
      <dc:creator>asurbs19</dc:creator>
      <dc:date>2019-04-30T20:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can tMap improve/replace  tJavaRow solution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284431#M58128</link>
      <description>&lt;P&gt;Thanks again, used tJavaRow to create the key i need to get the pivot i need&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output_row.ID = context.Added4Pivot;&lt;BR /&gt;output_row.Name = input_row.Name;&lt;BR /&gt;output_row.Value = input_row.Value;&lt;BR /&gt;if (output_row.Name.equals("LastRepeatingRow")) {&lt;BR /&gt;context.Added4Pivot++;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 23:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-tMap-improve-replace-tJavaRow-solution/m-p/2284431#M58128</guid>
      <dc:creator>asurbs19</dc:creator>
      <dc:date>2019-04-30T23:34:34Z</dc:date>
    </item>
  </channel>
</rss>

