<?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: Fetching Child Table records based on Parent Table key in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297866#M70392</link>
    <description>Talend has tMap &amp;amp; tJoin which performs inner or outer join between main data flow and lookup data flow - in your case parent records and child records.</description>
    <pubDate>Wed, 08 Aug 2018 13:17:24 GMT</pubDate>
    <dc:creator>iamabhishek</dc:creator>
    <dc:date>2018-08-08T13:17:24Z</dc:date>
    <item>
      <title>Fetching Child Table records based on Parent Table key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297863#M70389</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement like I need to fetch the data from Parent and Child Tables and write it to a file.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;ParentRecord1&lt;BR /&gt;ChildRecord1&lt;BR /&gt;ChildRecord2&lt;BR /&gt;ParentRecord2&lt;BR /&gt;ChildRecord1&lt;BR /&gt;ChildRecord2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to develope this in talend. please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 11:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297863#M70389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T11:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Child Table records based on Parent Table key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297864#M70390</link>
      <description>&lt;P&gt;Are you connecting to database to retrieve records from Child &amp;amp; Parent table? How does you setup the relationship between these two tables - some sample records from both the tables, your expected output and whatever you have tried so far would help.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 12:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297864#M70390</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-08T12:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Child Table records based on Parent Table key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297865#M70391</link>
      <description>&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I connected to salesforce&amp;nbsp;input to get the data from both parent and child records and store them to 2 fileoutput&amp;nbsp;delimited files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was struck here. don't know how to proceed further. I am new to talend.&lt;/P&gt;&lt;P&gt;SalesforceInput (to get parent records) --&amp;gt; Fileoutputdelimited&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SalesforceInput (to get&amp;nbsp;child&amp;nbsp; records) --&amp;gt; Fileoutputdelimited&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;don't know how to join these 2 tables to convert them to specified format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 12:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297865#M70391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T12:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Child Table records based on Parent Table key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297866#M70392</link>
      <description>Talend has tMap &amp;amp; tJoin which performs inner or outer join between main data flow and lookup data flow - in your case parent records and child records.</description>
      <pubDate>Wed, 08 Aug 2018 13:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297866#M70392</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-08T13:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Child Table records based on Parent Table key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297867#M70393</link>
      <description>&lt;P&gt;how could I get the format using tmap and joins&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOrmat I needed was:&lt;/P&gt;&lt;P&gt;Parent1&lt;/P&gt;&lt;P&gt;Child1&lt;/P&gt;&lt;P&gt;child2&lt;/P&gt;&lt;P&gt;Parent2&lt;/P&gt;&lt;P&gt;Child21&lt;/P&gt;&lt;P&gt;Child22&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried out the below things.&amp;nbsp;&lt;/P&gt;&lt;P&gt;SalesforceInput(to get parent records) -&amp;gt; fileoutputDelimited -&amp;gt; Join ---&amp;gt; TfileoutputDelimited&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SalesforceInput(to get child records) -&amp;gt; fileoutputDelimited -------|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Outpout of this job is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Parent1Child1Child2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Parent2Child11Child22&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297867#M70393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T13:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Child Table records based on Parent Table key</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297868#M70394</link>
      <description>Something like this would help -&lt;BR /&gt;1. you could put a condition on your tJoin (or tMap) output column - if parentrow is not null then parentrecord else childrecord - which might give you the complete data in a single column and not in three columns&lt;BR /&gt;2. you could use tDenormalize to transpose Rows to Columns</description>
      <pubDate>Wed, 08 Aug 2018 13:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetching-Child-Table-records-based-on-Parent-Table-key/m-p/2297868#M70394</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-08T13:53:00Z</dc:date>
    </item>
  </channel>
</rss>

