<?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: Issues with tbufferoutput data being passed from child to parent job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302374#M74362</link>
    <description>&lt;P&gt;Hi Jaya,&lt;/P&gt; 
&lt;P&gt;Please find below answers for your question. It might be helpful for you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;1) Why does it not work when trying to load the table? Is it because the tmap_1 to transaction_fact flow starts before the child job completes and so data&amp;nbsp;from child job is not available? Can't I straight away retrieve data from child job and load it to a table?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Ans. This issue is related to the configuration of tRunJob component. This component provide the flexibility to have either the input data as output or you can select output from child job as well. In order to select child output we have to enable a check box in &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;advance setting of this component.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 410px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lt0B.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139605iCD359DFFF53D6C84/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lt0B.png" alt="0683p000009Lt0B.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;One more issue might be your schema of both the tRunjob and tBifferOutput component should be same. If the issue still persist let me know.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2) Do I have to pass the retrieved data into some other components before trying to load the table?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Ans. It not required until you don't&amp;nbsp; need more transformation.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;3) What happens when both the parent jobs call the child job, does the child job execute only the first time or both the times?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Ans. If jobs are calling a child job then all these jobs will receive&amp;nbsp;the output as per configuration in child job.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsQZ"&gt;Capture.PNG&lt;/A&gt;</description>
    <pubDate>Tue, 06 Mar 2018 13:27:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-06T13:27:23Z</dc:date>
    <item>
      <title>Issues with tbufferoutput data being passed from child to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302372#M74360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have two parent jobs which require same data in one flow, so I built that flow in a child job and loaded the data into tbufferoutput. Now when trying to retrieve the data from the child job to load to a table in the parent job using trunjob component, it takes forever and nothing happens. But when I remove the table and try to write the data in a file in the below job(refer screenshot), it works. Could someone give me guidance on the below questions.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1) Why does it not work when trying to load the table? Is it because the tmap_1 to transaction_fact flow starts before the child job completes and so data&amp;nbsp;from child job is not available? Can't I straight away retrieve data from child job and load it to a table?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2) Do I have to pass the retrieved data into some other components before trying to load the table?&lt;/P&gt; 
&lt;P&gt;3) What happens when both the parent jobs call the child job, does the child job execute only the first time or both the times?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend screenshot.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lshq.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155523iAB24A5EA105582D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lshq.jpg" alt="0683p000009Lshq.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 23:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302372#M74360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T23:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with tbufferoutput data being passed from child to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302373#M74361</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1) is your tRunJob component configured as required when you want to retrieve data from child job?&lt;/P&gt;&lt;P&gt;You may have a look at&amp;nbsp;&lt;A href="https://help.talend.com/reader/4DeHFFMWIhiAwTaUkEqnmg/B3IFtzi83irMn5LJikxd1g" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/4DeHFFMWIhiAwTaUkEqnmg/B3IFtzi83irMn5LJikxd1g&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2) should work with a tBufferOutput&lt;/P&gt;&lt;P&gt;3) child job is "part" of the&amp;nbsp;parent which use it using a tRunJob.&lt;/P&gt;&lt;P&gt;So if both parents are running are the same time, the job is executed for both parents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 12:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302373#M74361</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-03-06T12:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with tbufferoutput data being passed from child to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302374#M74362</link>
      <description>&lt;P&gt;Hi Jaya,&lt;/P&gt; 
&lt;P&gt;Please find below answers for your question. It might be helpful for you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;1) Why does it not work when trying to load the table? Is it because the tmap_1 to transaction_fact flow starts before the child job completes and so data&amp;nbsp;from child job is not available? Can't I straight away retrieve data from child job and load it to a table?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Ans. This issue is related to the configuration of tRunJob component. This component provide the flexibility to have either the input data as output or you can select output from child job as well. In order to select child output we have to enable a check box in &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;advance setting of this component.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 410px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lt0B.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139605iCD359DFFF53D6C84/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lt0B.png" alt="0683p000009Lt0B.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;One more issue might be your schema of both the tRunjob and tBifferOutput component should be same. If the issue still persist let me know.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2) Do I have to pass the retrieved data into some other components before trying to load the table?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Ans. It not required until you don't&amp;nbsp; need more transformation.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;3) What happens when both the parent jobs call the child job, does the child job execute only the first time or both the times?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Ans. If jobs are calling a child job then all these jobs will receive&amp;nbsp;the output as per configuration in child job.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsQZ"&gt;Capture.PNG&lt;/A&gt;</description>
      <pubDate>Tue, 06 Mar 2018 13:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302374#M74362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-06T13:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with tbufferoutput data being passed from child to parent job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302375#M74363</link>
      <description>&lt;P&gt;Hi Kailash,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. I was able to figure out the issue or I am assuming this is the issue. My destination is a Mysql Innodb table and the tmysqloutput component setting is to Drop if exists and create the table. This takes a hell lot of time and I found online that mysql innodb used to have issues with drop. So I changed the setting to create table if does not exist and drop the table manually or through some other process prior to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this same drop if exists and create setting works fine in the job if it the data is from inside the job. I am not sure why it doesn't work when it comes from tbufferoutput.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the 3rd question,&amp;nbsp;is there a way to have this child job run only once and have the data in buffer so that it can be used by multiple parent jobs without the need to run the child job every time. Isn't that&amp;nbsp;how the tbufferoutput component supposed to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 15:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issues-with-tbufferoutput-data-being-passed-from-child-to-parent/m-p/2302375#M74363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-06T15:09:52Z</dc:date>
    </item>
  </channel>
</rss>

