<?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: Loop into a table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239686#M27412</link>
    <description>Sorry, I can't still understand your question well. However, if you want read data from file, you can use the tFileInputxxx component such as tFileInputDelimited(for .txt or .csv file), tFileInputExcel (for excel file).
&lt;BR /&gt;To loop the table name read from file, you can use tFowToIterate component, something like:
&lt;BR /&gt;tFileInputDelimited--main--tFlowToIterate--iterate....
&lt;BR /&gt;Take a look at the component documentation and learn this component.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
    <pubDate>Wed, 18 Mar 2020 03:54:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-18T03:54:35Z</dc:date>
    <item>
      <title>Loop into a table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239683#M27409</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table in hive and I want through java to make a for statement with table's length. How can I do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 09:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239683#M27409</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-10T09:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loop into a table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239684#M27410</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQe1AAG"&gt;@DrGenious&lt;/A&gt;, can you take an example to explain your requirement?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 10:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239684#M27410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-15T10:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loop into a table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239685#M27411</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;for (int j = 0; j &amp;lt;names.length; j++) {&lt;BR /&gt;ls_table = names[j][0];&lt;/P&gt; 
&lt;P&gt;if ((input_row.Equipment_Id != null) &amp;amp;&amp;amp; (ls_table != null) &amp;amp;&amp;amp; (input_row.Equipment_Id_.startsWith(ls_table))) {&lt;BR /&gt;ls_info = "the name is&amp;nbsp; " + names[j][1];&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the file with this names table, but I dont know: 1) How to upload it into talend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2) How to loop with the table's name.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 07:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239685#M27411</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-17T07:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loop into a table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239686#M27412</link>
      <description>Sorry, I can't still understand your question well. However, if you want read data from file, you can use the tFileInputxxx component such as tFileInputDelimited(for .txt or .csv file), tFileInputExcel (for excel file).
&lt;BR /&gt;To loop the table name read from file, you can use tFowToIterate component, something like:
&lt;BR /&gt;tFileInputDelimited--main--tFlowToIterate--iterate....
&lt;BR /&gt;Take a look at the component documentation and learn this component.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 18 Mar 2020 03:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239686#M27412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-18T03:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loop into a table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239687#M27413</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;for (int j = 0; j &amp;lt;names.length; j++) {&lt;BR /&gt;ls_table = names[j][0];&lt;/P&gt; 
&lt;P&gt;if ((input_row.Equipment_Id != null) &amp;amp;&amp;amp; (ls_table != null) &amp;amp;&amp;amp; (input_row.Equipment_Id_.startsWith(ls_table))) {&lt;BR /&gt;ls_info = "the name is&amp;nbsp; " + names[j][1];&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you can see in the above code, there is a loop which loops until names.length ( names is the table). Then ls_table has the value of the names[j][0]. My question is how I insert this table into talend and then how can I loop with this table's length like the code above. I know about tfileinputdelimited and tflowiterate but I want to write it in java.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 06:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-into-a-table/m-p/2239687#M27413</guid>
      <dc:creator>DrGenious</dc:creator>
      <dc:date>2020-03-18T06:49:52Z</dc:date>
    </item>
  </channel>
</rss>

