<?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: tELTOracleMap &amp; tLoop: how to add dynamic where clause? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354494#M120460</link>
    <description>&lt;P&gt;Hi Grimzi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Adding a context variable to the ELT&amp;lt;DB&amp;gt;Map component shouldn't be an issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What DOES seem very counterintuitive though is the fact that you don't need to comment out the context variable as the SQL generator will do that for you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;See below screenshot for an example (query doesn't make any sense but that'll give you an idea).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this helps.&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="Screen Shot 2017-09-26 at 14.05.15.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LquO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133714iEBFD5EEE45372F2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LquO.png" alt="0683p000009LquO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2017 13:06:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-26T13:06:30Z</dc:date>
    <item>
      <title>tELTOracleMap &amp; tLoop: how to add dynamic where clause?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354491#M120457</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the basic flow:&lt;/P&gt;&lt;P&gt;tLoop (from 2013 -to 2017, step 1) -- tSetGlobalVar_Year --tELTOracleInput -- tELTOracleMAp -- tELTOracleOutput (insert)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the where clause of tELTOracleMap I would like to add : Evaluation_Year = ((Integer)globalMap.get("EvaluationYear"))&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go is to generate 5 sql's:&lt;/P&gt;&lt;P&gt;Insert into&amp;nbsp; .. select ... from .. where Evaluation_Year = 2013;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Insert into&amp;nbsp; .. select ... from .. where Evaluation_Year = 2017;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing something wrong or is this a limitation ot tELT objects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 13:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354491#M120457</guid>
      <dc:creator>grizmi</dc:creator>
      <dc:date>2017-09-25T13:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap &amp; tLoop: how to add dynamic where clause?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354492#M120458</link>
      <description>&lt;P&gt;Could you attach a screenshot of your job and describe what's going wrong at the moment when you execute the job?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 09:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354492#M120458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T09:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap &amp; tLoop: how to add dynamic where clause?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354493#M120459</link>
      <description>&lt;P&gt;saying src.EVALUATION_YEAR =&amp;nbsp;((Integer)globalMap.get("EvaluationYear")) won't work&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CaptureTalend.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LqtK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155924i21D08A8AAB59EC29/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LqtK.jpg" alt="0683p000009LqtK.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But even mapping e.g. "context.ETL_DATE = LOAD_DATE" fails in a tELTOracleMap. In a normal tMap there is no issue.&lt;/P&gt; 
&lt;P&gt;Just working for a few months with Talend so maybe I am missing something.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 12:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354493#M120459</guid>
      <dc:creator>grizmi</dc:creator>
      <dc:date>2017-09-26T12:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap &amp; tLoop: how to add dynamic where clause?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354494#M120460</link>
      <description>&lt;P&gt;Hi Grimzi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Adding a context variable to the ELT&amp;lt;DB&amp;gt;Map component shouldn't be an issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What DOES seem very counterintuitive though is the fact that you don't need to comment out the context variable as the SQL generator will do that for you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;See below screenshot for an example (query doesn't make any sense but that'll give you an idea).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this helps.&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="Screen Shot 2017-09-26 at 14.05.15.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LquO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133714iEBFD5EEE45372F2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LquO.png" alt="0683p000009LquO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354494#M120460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T13:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleMap &amp; tLoop: how to add dynamic where clause?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354495#M120461</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It works when uning context variable in tELTOracleMap.&amp;nbsp;Apperently, in the tIteration&amp;nbsp;I&amp;nbsp;first need to assign the key value defined in&amp;nbsp;tSetGlobalVar to a context variable. Directly calling ((Integer)globalMap.get("EvaluationYear")) didn't work.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 15:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleMap-tLoop-how-to-add-dynamic-where-clause/m-p/2354495#M120461</guid>
      <dc:creator>grizmi</dc:creator>
      <dc:date>2017-09-29T15:59:49Z</dc:date>
    </item>
  </channel>
</rss>

