<?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 generate multiple rows in Tjavarow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286965#M60587</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;I am trying to format a column based on a shrinking window array and coming up with multiple combinations.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have created the java code for it but I am unable to use it in tjavarow. To simplify here is the example.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;the trial_id is '123456' and the condition is "ABCDED :: XYZ"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;String r[] = input_row.conditions.split(" :: ");&lt;BR /&gt;for (int i=0; i&amp;lt;r.length;i++)&lt;BR /&gt;{&lt;BR /&gt;output_row.trial_id = input_nct_trial_id;&lt;BR /&gt;output_row.fragments=r[i];&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The issue is I am only getting one row in output the first one&amp;nbsp;123456|ABCDED and not the second one&amp;nbsp;123456|XYZ&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am new to talend so not even sure if this is supported or not?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 13:01:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-14T13:01:42Z</dc:date>
    <item>
      <title>generate multiple rows in Tjavarow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286965#M60587</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;I am trying to format a column based on a shrinking window array and coming up with multiple combinations.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have created the java code for it but I am unable to use it in tjavarow. To simplify here is the example.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;the trial_id is '123456' and the condition is "ABCDED :: XYZ"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;String r[] = input_row.conditions.split(" :: ");&lt;BR /&gt;for (int i=0; i&amp;lt;r.length;i++)&lt;BR /&gt;{&lt;BR /&gt;output_row.trial_id = input_nct_trial_id;&lt;BR /&gt;output_row.fragments=r[i];&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The issue is I am only getting one row in output the first one&amp;nbsp;123456|ABCDED and not the second one&amp;nbsp;123456|XYZ&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am new to talend so not even sure if this is supported or not?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 13:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286965#M60587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-14T13:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: generate multiple rows in Tjavarow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286966#M60588</link>
      <description>Hello,
&lt;BR /&gt;Can you provide an example of the components you're using in input and the link with you tJavarow ?
&lt;BR /&gt;I'm not sure, but you might replace your tJavarow component by a tJavaFlex by checking "Data Auto Propagate" and using a "iterate row" instead of a "main row". Keep us in touch</description>
      <pubDate>Wed, 14 Aug 2019 20:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286966#M60588</guid>
      <dc:creator>jeoste</dc:creator>
      <dc:date>2019-08-14T20:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: generate multiple rows in Tjavarow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286967#M60589</link>
      <description>&lt;P&gt;I believe what you should be looking at is the tNormalize component. This will at least replace the piece of Java code you are showing here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have the two columns "trial_id" and "condition" as input, you would normalize the column "condition" and use the item separator "::". This will give you the two rows you are looking for (or even three or more if you have something like &lt;SPAN&gt;"ABCDED :: XYZ :: MNOP" in there)&lt;/SPAN&gt;. Set the "Trim resulting values" in this component as your input seems to have spaces. If you need a different name for your output column ("fragments"), you could use a tMap after the tNormalize component.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 21:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286967#M60589</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2019-08-17T21:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: generate multiple rows in Tjavarow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286968#M60590</link>
      <description>&lt;P&gt;what i findout was that tjavarow and tjavaa only outputs one row out for one row in. i did the processing and outputed all results in one column and used tnormalize to split up the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My logic was doing far more than just a split, it was just a question to get the basic splitting of one row into multiple rows output. but it was not working.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/generate-multiple-rows-in-Tjavarow/m-p/2286968#M60590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-17T22:21:48Z</dc:date>
    </item>
  </channel>
</rss>

