<?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: Inner join without lookup in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338210#M106471</link>
    <description>Hi all,&lt;BR /&gt;My best advice is to use the tELTOracleInput for every tables, a tELTOracleMap to perform your JOIN and transformation via Oracle database then a tELTOracleOutput to store result of the ELT transformation.&lt;BR /&gt;ELT transformation generates a SQL query to perform operations and transformation, it's easy to design and very fast and efficient.&lt;BR /&gt;Best regards.</description>
    <pubDate>Fri, 10 Apr 2009 17:38:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-04-10T17:38:16Z</dc:date>
    <item>
      <title>Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338199#M106460</link>
      <description>I would like to join my main input with another query, but I dont want to use a lookup because the lookup pulls 2 million records before joining with the main query by ID. I would rather hit the database a few hundred times to get the records for the second input. Is this functionality possible. I do like the functionality of the tMap and would like use it for the transformation.</description>
      <pubDate>Sat, 16 Nov 2024 14:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338199#M106460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338200#M106461</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use an SQL query on your tInputDB.&lt;BR /&gt;Jeremie</description>
      <pubDate>Mon, 06 Apr 2009 10:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338200#M106461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-06T10:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338201#M106462</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi,&lt;BR /&gt;Use an SQL query on your tInputDB.&lt;BR /&gt;Jeremie&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Yes, I already have a query on my tOracleInput_1. Now I need to add a tOracleInput_2, but if I do that as shown it creates a lookup. The lookup functionality is great for 50 states. But for our address table it will result in an initial pull of 2 million rows. That is not the way I want to perform my sub query. I would like to query the database with tOracleInput_2 for each row in tOracleInput_1 and pass it the unique ID to find. That would result in a faster tranformation in this particular case. 
&lt;BR /&gt;Thanks Ben.</description>
      <pubDate>Mon, 06 Apr 2009 17:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338201#M106462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-06T17:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338202#M106463</link>
      <description>Has anyone had any luck with this. Cannot for the life of me get this to work.</description>
      <pubDate>Tue, 07 Apr 2009 23:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338202#M106463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-07T23:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338203#M106464</link>
      <description>Hai,
&lt;BR /&gt;Hope this solves u r problem.
&lt;BR /&gt;1. Main table fetch (tOracleInput)
&lt;BR /&gt;2. tFlowToIterate
&lt;BR /&gt;3. Sub table fetch (tOracleInput)
&lt;BR /&gt;
&lt;BR /&gt;Starting job bnye at 10:26 08/04/2009.
&lt;BR /&gt; connecting to socket on port 3510
&lt;BR /&gt; connected
&lt;BR /&gt;123|BNYE|20000|D1|SALES
&lt;BR /&gt;456|AMIRTHS|10000|D2|PROD
&lt;BR /&gt; disconnected
&lt;BR /&gt;Job bnye ended at 10:26 08/04/2009. 
&lt;BR /&gt;
&lt;BR /&gt;Amirths</description>
      <pubDate>Wed, 08 Apr 2009 06:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338203#M106464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-08T06:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338204#M106465</link>
      <description>Amirths - 
&lt;BR /&gt;almost... 
&lt;BR /&gt;But I need fields from both the Main Table Fetch and the Fetch Sub Record to be in the output file. It seems to be a problem with the tMap capabilities? 
&lt;BR /&gt;Is there anyway to resolve this scenario? 
&lt;BR /&gt;Thanks for your help. 
&lt;BR /&gt;bnye</description>
      <pubDate>Wed, 08 Apr 2009 18:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338204#M106465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-08T18:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338205#M106466</link>
      <description>Bnye,
&lt;BR /&gt;Please go thru the image 2. The first four fields are from the Main table and the 5th one is from the Sub table.
&lt;BR /&gt;Just map all the 5 fields thru tMap and then to tOracleOutput.
&lt;BR /&gt;
&lt;BR /&gt;Amirths</description>
      <pubDate>Thu, 09 Apr 2009 05:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338205#M106466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-09T05:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338206#M106467</link>
      <description>This is working great and I realize I said inner join...but how can I do the same thing with a left outer join?
&lt;BR /&gt;The reason is that I have a couple of scenarios where I need the Main Table Fetch rows even if no row exists in the Fetch Sub Row query.
&lt;BR /&gt;Thanks again for your responses.</description>
      <pubDate>Fri, 10 Apr 2009 01:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338206#M106467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-10T01:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338207#M106468</link>
      <description>Hello bnye
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;..but how can I do the same thing with a left outer join?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Please see 1659 and 2202 to learn how to do a left outer join and get unmatched rows.
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 10 Apr 2009 03:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338207#M106468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-10T03:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338208#M106469</link>
      <description>Thank you for the response shong. However, this was my original problem. Its that this is a lookup that loads the entire Input2 and then performs the join to each row in the Input1 based on that. I was hoping to query the database for each row in Input1 rather than loading the entire address table. Thanks again for all of your help. I hope I explained the problem adequately. 
&lt;BR /&gt;I have shrunk the address table query as much as possible for this transformation and the lookup still loads 27000 records before performing the tranformation for a single input1 record. I wont always be this lucky at limiting the size of the Input2 query. Please find the image below. 
&lt;BR /&gt;Perhaps I am missing something simple regarding your tMap setup.</description>
      <pubDate>Fri, 10 Apr 2009 05:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338208#M106469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-10T05:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338209#M106470</link>
      <description>Why not just use ONE tOracle Input and put your whole query in it - Joins and everything - let the database do all the work.
&lt;BR /&gt;Yes - it won't visually show you that you are joining tables - but it would be a small price to pay.</description>
      <pubDate>Fri, 10 Apr 2009 17:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338209#M106470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-10T17:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338210#M106471</link>
      <description>Hi all,&lt;BR /&gt;My best advice is to use the tELTOracleInput for every tables, a tELTOracleMap to perform your JOIN and transformation via Oracle database then a tELTOracleOutput to store result of the ELT transformation.&lt;BR /&gt;ELT transformation generates a SQL query to perform operations and transformation, it's easy to design and very fast and efficient.&lt;BR /&gt;Best regards.</description>
      <pubDate>Fri, 10 Apr 2009 17:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338210#M106471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-10T17:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338211#M106472</link>
      <description>SMaz - 
&lt;BR /&gt;The reason for the second Input is that I have a join to my ADDRESS table in the primary query via Input1. This query links to the sequence 1. But for this output file I also need the address information from sequence 2. This is not possible in one query. 
&lt;BR /&gt;cantoine - 
&lt;BR /&gt;I will give this a try next.</description>
      <pubDate>Fri, 10 Apr 2009 18:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338211#M106472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-10T18:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338212#M106473</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi all,&lt;BR /&gt;My best advice is to use the tELTOracleInput for every tables, a tELTOracleMap to perform your JOIN and transformation via Oracle database then a tELTOracleOutput to store result of the ELT transformation.&lt;BR /&gt;ELT transformation generates a SQL query to perform operations and transformation, it's easy to design and very fast and efficient.&lt;BR /&gt;Best regards.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;cantoine - 
&lt;BR /&gt;How do you then map the ELTOracleMap to my output file? 
&lt;BR /&gt;It looks like the tELTOracleOutput stores the result in a table in the database. I was hoping not to have to create temporary tables for this. Is that correct.</description>
      <pubDate>Fri, 10 Apr 2009 20:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338212#M106473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-10T20:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338213#M106474</link>
      <description>It appears that the ELTOracleInput and ELTOracltMap method won't work. This is very frustrating. This is one of the most basic functions of an ETL tool. I should have the ability to perform an unlimited number of queries by chaining together Inputs and tMaps, but there is no such thing as a join in the tmap only a lookup.</description>
      <pubDate>Fri, 10 Apr 2009 22:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338213#M106474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-10T22:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338214#M106475</link>
      <description>Check out the following post: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCoRICA0" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/SQL-query-on-tMap-output/td-p/94559&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;This will allow you call a single select for each row, passing in the lookup value and use the result in your output. Basically, it's tOracleInput -&amp;gt; tOracleRow -&amp;gt; tParseRecordSet -&amp;gt; -&amp;gt; tOracleOutput 
&lt;BR /&gt; 
&lt;BR /&gt;hth, 
&lt;BR /&gt; 
&lt;BR /&gt;Thomas</description>
      <pubDate>Sat, 11 Apr 2009 01:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338214#M106475</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-04-11T01:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join without lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338215#M106476</link>
      <description>I went to the training and they demonstrated how to get this done. Basically its as follows:
&lt;BR /&gt;tOracleInput1 -&amp;gt; row1 -&amp;gt; tFlowToIterate -&amp;gt; Iterate -&amp;gt; tOracleInput2 -&amp;gt; row2 -&amp;gt; tMap -&amp;gt; tFileOutput
&lt;BR /&gt;The tFlowToIterate places everything from Main1 into the globalMap then when in the SQL statement on the tOracleInput2 you can add a where clause that specifies a unique idea like WHERE UNIQUEID = " + row1.UniqueID. Finally in your tMap while you only see the schema from Main2 you can still use the items in row1. You just don't get to see the nice lines from the input schema to the output schema. The only other catch is that if you want to show values from row1 even where there are no values in row2 you need to select from the primary table of tOracleInput1 in tOracleInput2 and left outer join your connecting table and put all other where clauses in the left outer join itself, otherwise you turn your left outer join into an inner join. Here is the exact tOracleInput2 that I used in this job. Notice the second selector ADR_SEQ_NO in the join and not in the WHERE clause.
&lt;BR /&gt;"SELECT DBR.DBR_NO, ADR.ADR_DBR_NO, ADR.ADR_SEQ_NO, ADR.ADR_NAME, ADR.ADR_ADDR1, 
&lt;BR /&gt;ADR.ADR_ADDR2, ADR.ADR_CITY, ADR.ADR_STATE, ADR.ADR_ZIP_CODE, 
&lt;BR /&gt;ADR.ADR_PHONE1, ADR.ADR_PHONE2, ADR.ADR_DOB_O FROM CDS.DBR LEFT OUTER JOIN CDS.ADR 
&lt;BR /&gt;ON DBR.DBR_NO = ADR.ADR_DBR_NO AND ADR.ADR_SEQ_NO = '02'
&lt;BR /&gt;WHERE DBR.DBR_NO = '" + row1.DBR_NO + "'"</description>
      <pubDate>Sat, 06 Jun 2009 23:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inner-join-without-lookup/m-p/2338215#M106476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-06T23:40:19Z</dc:date>
    </item>
  </channel>
</rss>

