<?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: Gather values to create a single lookup query? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195865#M276</link>
    <description>I think what I need for my query is use Context variables. &lt;BR /&gt;Is there a tutorial for using them, or can someone show me an example of how to use context variables to make a WHERE clause that generates an IN list?</description>
    <pubDate>Tue, 06 Nov 2012 16:21:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-06T16:21:13Z</dc:date>
    <item>
      <title>Gather values to create a single lookup query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195862#M273</link>
      <description>I am needing to bash some data from a local MySQL db against our enterprise teradata. I'd like to do this without having to cache a multi-million record table from the teradata warehouse to do the lookups. Is there a component or method I can use to get my key fields from my local db and do a single query lookup in the other db? 
&lt;BR /&gt; 
&lt;BR /&gt;An example of this would be 
&lt;BR /&gt;1. Get account id's from MySQL 
&lt;BR /&gt;2. List id's in query for teradata as "WHERE account_id IN ('id1', 'id2', 'id3')" 
&lt;BR /&gt;3. join rows from both db in output 
&lt;BR /&gt;Are there components that can accomplish this?</description>
      <pubDate>Mon, 05 Nov 2012 12:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195862#M273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-05T12:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Gather values to create a single lookup query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195863#M274</link>
      <description>Hi
&lt;BR /&gt;tMap is the component you are looking for? Do an join on tMap on mysql.id and account_id.
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 05 Nov 2012 18:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195863#M274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-05T18:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Gather values to create a single lookup query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195864#M275</link>
      <description>Shong, 
&lt;BR /&gt;I've used tMap and it loads the entire table before performing the look up. I can't use it quite like that, the lookup table will have more than 17 million rows, for the query in use, it would take several minutes (and a whole lot of disk space). 
&lt;BR /&gt;I need to filter in the lookup table by making a derived table (using the id column in the mysql table). Essentially, I need some way to use the id column from mysql as a parameter the job can insert into the teradata query as an "IN ('value1','value2','value3') format, that i can then join with tmap</description>
      <pubDate>Mon, 05 Nov 2012 18:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195864#M275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-05T18:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Gather values to create a single lookup query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195865#M276</link>
      <description>I think what I need for my query is use Context variables. &lt;BR /&gt;Is there a tutorial for using them, or can someone show me an example of how to use context variables to make a WHERE clause that generates an IN list?</description>
      <pubDate>Tue, 06 Nov 2012 16:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Gather-values-to-create-a-single-lookup-query/m-p/2195865#M276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-06T16:21:13Z</dc:date>
    </item>
  </channel>
</rss>

