<?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 how to output multiple rows from single input row to tJavaRow? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256356#M38763</link>
    <description>hi, 
&lt;BR /&gt;i have a tJavaRow that scans some input text, and extracts several fields from it.
&lt;BR /&gt;now i need to be able to parse multiple inputs in the same input field, and output them as several sets of output fields.
&lt;BR /&gt;for example, lets say i have a code that takes text, and extracts country name and city name into 2 text fields. "paris, france" -&amp;gt; "paris","france".
&lt;BR /&gt;now i want to be able to give it the text "paris, france and jerusalem, israel", and to process it in the same manner. i would like to get "paris","france" as one row, and then "jerusalem","israel" as a second row.
&lt;BR /&gt;the logical thing to do is to have the same output schema, just have the tJavaRow output twice, for a single input.
&lt;BR /&gt;is it possible? if so, how?</description>
    <pubDate>Sat, 16 Nov 2024 14:12:53 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T14:12:53Z</dc:date>
    <item>
      <title>how to output multiple rows from single input row to tJavaRow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256356#M38763</link>
      <description>hi, 
&lt;BR /&gt;i have a tJavaRow that scans some input text, and extracts several fields from it.
&lt;BR /&gt;now i need to be able to parse multiple inputs in the same input field, and output them as several sets of output fields.
&lt;BR /&gt;for example, lets say i have a code that takes text, and extracts country name and city name into 2 text fields. "paris, france" -&amp;gt; "paris","france".
&lt;BR /&gt;now i want to be able to give it the text "paris, france and jerusalem, israel", and to process it in the same manner. i would like to get "paris","france" as one row, and then "jerusalem","israel" as a second row.
&lt;BR /&gt;the logical thing to do is to have the same output schema, just have the tJavaRow output twice, for a single input.
&lt;BR /&gt;is it possible? if so, how?</description>
      <pubDate>Sat, 16 Nov 2024 14:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256356#M38763</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to output multiple rows from single input row to tJavaRow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256357#M38764</link>
      <description>Hi, 
&lt;BR /&gt;this is not possible. As a workaround you can use tNormalize. 
&lt;BR /&gt;In your example you could change "paris, france and jerusalem, israel" in a more structured form "paris,france;jerusalem,israel" in tNormalize use ";" as delimiter. You will get two rows with: "paris,france" and "jerusalem,israel". All other columns are unchanged. No use again a tJava (or anything else) to split city and land. 
&lt;BR /&gt;Bye 
&lt;BR /&gt;Volker</description>
      <pubDate>Sun, 28 Sep 2008 20:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256357#M38764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-28T20:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to output multiple rows from single input row to tJavaRow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256358#M38765</link>
      <description>thx.
&lt;BR /&gt;i know about this way of solution. unfortunatly it is not possible in my real case (the example above is a bit simpler that what i really need).
&lt;BR /&gt;is it in the roadmap to add such an ability to tJavaRow? i have already found several issues that would be best solved by enabling tJavaRow to have multiple lines of output...</description>
      <pubDate>Sun, 28 Sep 2008 22:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256358#M38765</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-09-28T22:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to output multiple rows from single input row to tJavaRow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256359#M38766</link>
      <description>Hi,
&lt;BR /&gt;you can search in the BugTracker for it or open a new request.
&lt;BR /&gt;By the way: If you can give some more information about your job and the data maybe some will have an idea.
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
      <pubDate>Mon, 29 Sep 2008 21:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-output-multiple-rows-from-single-input-row-to-tJavaRow/m-p/2256359#M38766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-29T21:05:59Z</dc:date>
    </item>
  </channel>
</rss>

