<?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: [resolved] Add rows to an existing data flow, up to a fixed number in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Add-rows-to-an-existing-data-flow-up-to-a-fixed-number/m-p/2366492#M129971</link>
    <description>Start with a tFixedFlowInput that has a list of ALL files, with this as the main flow connect to a tMap with your current file names as a lookup (make sure the join is not configured as an inner join). This should give you a flow that will contain a row for every file defined in the tFixedFlowInput-- which you can then use to iterate over to create your files.
&lt;BR /&gt;edit:
&lt;BR /&gt; for a more maintainable solution you can do the same with a DB table or delimited file that defines all expected files rather than a fixedFlow. This is more maintainable because you would need to edit the job to adjust your file list if you use a fixedFlow.</description>
    <pubDate>Tue, 11 Jun 2013 16:30:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-11T16:30:35Z</dc:date>
    <item>
      <title>[resolved] Add rows to an existing data flow, up to a fixed number</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Add-rows-to-an-existing-data-flow-up-to-a-fixed-number/m-p/2366491#M129970</link>
      <description>I have a job where the requirement is to create the same number of files each run, adding dummy files if there are fewer than the maximum number of rows. 
&lt;BR /&gt;My schema is very simple - one String column, which can be set to empty string for the dummy rows. 
&lt;BR /&gt;I see tRowGenerator, but I don't see how to use it add to an existing flow. 
&lt;BR /&gt;So right now I have 
&lt;BR /&gt;tPostgresInput -&amp;gt; tIterate -&amp;gt; 
&lt;BR /&gt;I want to add something after tPostgresInput that will cause tIterate to always happen 6 times (the query will always generate 6 or fewer rowss). (I can know I can change the SQL in postgress to do this but I'm hoping to find something that keeps the logic more in talendComponents).</description>
      <pubDate>Tue, 11 Jun 2013 16:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Add-rows-to-an-existing-data-flow-up-to-a-fixed-number/m-p/2366491#M129970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-11T16:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Add rows to an existing data flow, up to a fixed number</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Add-rows-to-an-existing-data-flow-up-to-a-fixed-number/m-p/2366492#M129971</link>
      <description>Start with a tFixedFlowInput that has a list of ALL files, with this as the main flow connect to a tMap with your current file names as a lookup (make sure the join is not configured as an inner join). This should give you a flow that will contain a row for every file defined in the tFixedFlowInput-- which you can then use to iterate over to create your files.
&lt;BR /&gt;edit:
&lt;BR /&gt; for a more maintainable solution you can do the same with a DB table or delimited file that defines all expected files rather than a fixedFlow. This is more maintainable because you would need to edit the job to adjust your file list if you use a fixedFlow.</description>
      <pubDate>Tue, 11 Jun 2013 16:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Add-rows-to-an-existing-data-flow-up-to-a-fixed-number/m-p/2366492#M129971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-11T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Add rows to an existing data flow, up to a fixed number</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Add-rows-to-an-existing-data-flow-up-to-a-fixed-number/m-p/2366493#M129972</link>
      <description>Thank you. That's exactly what I was looking for, I've updated my job using your suggestion and it works.</description>
      <pubDate>Tue, 11 Jun 2013 17:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Add-rows-to-an-existing-data-flow-up-to-a-fixed-number/m-p/2366493#M129972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-11T17:53:16Z</dc:date>
    </item>
  </channel>
</rss>

