<?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: Join two tMap flows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Join-two-tMap-flows/m-p/2240429#M27922</link>
    <description>You cannot split flows and then rejoin them later; search the forum for "cycle" for many many posts on this.&lt;BR /&gt;You have to instead store the data temporarily to a table, file or hash to re-read in a subsequent subjob.&lt;BR /&gt;Having said that, why do you need to tUnique in the first place?  Why can't you just do the lookup in tMap5?</description>
    <pubDate>Mon, 13 Aug 2012 00:01:42 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2012-08-13T00:01:42Z</dc:date>
    <item>
      <title>Join two tMap flows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-two-tMap-flows/m-p/2240428#M27921</link>
      <description>Hi All,&lt;BR /&gt;I am trying to join two output tMap flows and haven't succeeded yet. I wanted to know if this is possible or may be I should redesign my job flow. This is my use case:&lt;BR /&gt;     In the job flow below, the tNormalize(tNormalize_2) normalizes a field and then perform a lookup on the unique normalized values. I have some other computation in the tMap (tMap_4) in case i dont find a match in my lookup. &lt;BR /&gt;     Once this lookup is completed I need to join back to the tNormalized output (tNormalize_2) so that I can output the lookup value got earlier and the remaining fields at the tNormalize. &lt;BR /&gt;     For this purpose I put a tMap (tMap_5) basically to create two similar flows - one which does the lookup and the other that could be used to join after the lookup (ie after tMap_4).  This is where I am stuck as I am not able to join two tMap flows. I tried using both tMap and tJoin to join them but it doesn't work. &lt;BR /&gt;Here's an example of what I am trying to achieve:&lt;BR /&gt;tNormalize_2 output:&lt;BR /&gt;1 fam&lt;BR /&gt;2 ffn&lt;BR /&gt;7 bbz&lt;BR /&gt;7 fam&lt;BR /&gt;This is replicated into two flows by tMap_5 - One goes to tUniqRow_2&lt;BR /&gt;tUniqRow_2 acts on the second field to generate:&lt;BR /&gt;fam&lt;BR /&gt;ffn&lt;BR /&gt;bbz&lt;BR /&gt;tMap_4 does a lookup from the db and generates a default if the lookup fails such as:&lt;BR /&gt;fam 1&lt;BR /&gt;ffn 2 (default value)&lt;BR /&gt;bbz 3&lt;BR /&gt;This has to join to the other output flow of tMap_5 so that I can finally output: How can this be done?&lt;BR /&gt;1 1&lt;BR /&gt;2 2&lt;BR /&gt;7 3&lt;BR /&gt;7 1&lt;BR /&gt;I really appreciate any help here.&lt;BR /&gt;Sid</description>
      <pubDate>Sun, 12 Aug 2012 20:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-two-tMap-flows/m-p/2240428#M27921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-12T20:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tMap flows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Join-two-tMap-flows/m-p/2240429#M27922</link>
      <description>You cannot split flows and then rejoin them later; search the forum for "cycle" for many many posts on this.&lt;BR /&gt;You have to instead store the data temporarily to a table, file or hash to re-read in a subsequent subjob.&lt;BR /&gt;Having said that, why do you need to tUnique in the first place?  Why can't you just do the lookup in tMap5?</description>
      <pubDate>Mon, 13 Aug 2012 00:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Join-two-tMap-flows/m-p/2240429#M27922</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-13T00:01:42Z</dc:date>
    </item>
  </channel>
</rss>

