<?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: Reg: How to pass a filter condition as variable in Input/row component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reg-How-to-pass-a-filter-condition-as-variable-in-Input-row/m-p/2350301#M117174</link>
    <description>Hello 
&lt;BR /&gt;Yes, you can pass a date to the sql query dynamically. Your job looks like
&lt;BR /&gt;tFileInputDelimited--&amp;gt;tJavaRow--&amp;gt;tFlowToIterate--&amp;gt;tOracleInput--&amp;gt;tnetezzaOutput
&lt;BR /&gt;tFileInputDelimited: get date value from a file
&lt;BR /&gt;tJavaRow: format the date and set the value to a context var
&lt;BR /&gt;tOracleInput: "select * from table_name where day_id &amp;gt;'"+context.date+"'"
&lt;BR /&gt;about tFlowToIterate component, see 5827
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
    <pubDate>Mon, 06 Jul 2009 04:52:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-07-06T04:52:21Z</dc:date>
    <item>
      <title>Reg: How to pass a filter condition as variable in Input/row component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-How-to-pass-a-filter-condition-as-variable-in-Input-row/m-p/2350300#M117173</link>
      <description>Hi,&lt;BR /&gt;I am having a Date filter condition in a query. The value supposed to be retrieved from a file and passed to the query. Is there any why to do it in talend.&lt;BR /&gt;version: Talend 3.1&lt;BR /&gt;Input Component: tOracleInput with the following Sql&lt;BR /&gt;Sql: Select * from Table_Name where Day_id &amp;gt; &lt;BR /&gt;Output component: tnetezzaOutput&lt;BR /&gt;Thanks in Advance,&lt;BR /&gt;Arun</description>
      <pubDate>Sat, 16 Nov 2024 13:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-How-to-pass-a-filter-condition-as-variable-in-Input-row/m-p/2350300#M117173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: How to pass a filter condition as variable in Input/row component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-How-to-pass-a-filter-condition-as-variable-in-Input-row/m-p/2350301#M117174</link>
      <description>Hello 
&lt;BR /&gt;Yes, you can pass a date to the sql query dynamically. Your job looks like
&lt;BR /&gt;tFileInputDelimited--&amp;gt;tJavaRow--&amp;gt;tFlowToIterate--&amp;gt;tOracleInput--&amp;gt;tnetezzaOutput
&lt;BR /&gt;tFileInputDelimited: get date value from a file
&lt;BR /&gt;tJavaRow: format the date and set the value to a context var
&lt;BR /&gt;tOracleInput: "select * from table_name where day_id &amp;gt;'"+context.date+"'"
&lt;BR /&gt;about tFlowToIterate component, see 5827
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 06 Jul 2009 04:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-How-to-pass-a-filter-condition-as-variable-in-Input-row/m-p/2350301#M117174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-06T04:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: How to pass a filter condition as variable in Input/row component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-How-to-pass-a-filter-condition-as-variable-in-Input-row/m-p/2350302#M117175</link>
      <description>Shong,
&lt;BR /&gt;I Just Enabled Implicit Context option in the Job-&amp;gt;Extra. And Set the file location which has the date values need to be passed. Now everything is Working fine. The script inside the toracleInput is same as what you replied. 
&lt;BR /&gt;Thanks a Lot,
&lt;BR /&gt;Arun</description>
      <pubDate>Mon, 06 Jul 2009 07:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-How-to-pass-a-filter-condition-as-variable-in-Input-row/m-p/2350302#M117175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-06T07:55:14Z</dc:date>
    </item>
  </channel>
</rss>

