<?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: control table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362233#M126409</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Would you mind posting your current job design screenshots on forum which will be helpful for us to understand your requirement very weel?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2017 07:27:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-20T07:27:05Z</dc:date>
    <item>
      <title>control table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362232#M126408</link>
      <description>&lt;P&gt;Hi experts&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to send source data in to final ware house every 15 minutes ,So I taught to create a control table in&lt;/P&gt; 
&lt;P&gt;staging area with DATE,TIMESTAMP as columns&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When the table in the source is updated , for example the source table is (sales_order ) the date column in sales_order is&lt;/P&gt; 
&lt;P&gt;(sales_order_date ) when the sales_order_date column gets updated the time is greater than TIME_STAMP column in staging then staging table should fetch the data from source to staging .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But how to replicate the column in control table in staging to give as condition in source .please help me to do it&lt;/P&gt; 
&lt;P&gt;or if any other solutions better than this please let me know&lt;/P&gt; 
&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Sumanth&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2017 07:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362232#M126408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-11T07:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: control table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362233#M126409</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Would you mind posting your current job design screenshots on forum which will be helpful for us to understand your requirement very weel?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 07:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362233#M126409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T07:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: control table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362234#M126410</link>
      <description>Hi 
&lt;BR /&gt;Select the date column both from source table and control table, store the value to context variables for used later. Trigger other business processing using runIf connector based on the comparison result of the two dates. eg: 
&lt;BR /&gt;tmysqlinput--main--tJavaRow1-oncomponentok--tmysqlInput--main--tJavarow2 
&lt;BR /&gt; --runIf--other business processing 
&lt;BR /&gt;on tJavaRow1: 
&lt;BR /&gt;context.sourceDate=input_row.sales_order_date; 
&lt;BR /&gt; 
&lt;BR /&gt;on tJavaRow2: 
&lt;BR /&gt;context.controlDate=input_row.TIME_STAMP_COLUMN; 
&lt;BR /&gt; 
&lt;BR /&gt;Set the condition of runIf as: 
&lt;BR /&gt;TalendDate.compareDate(context.controlDate, context.sourceDate)==1 
&lt;BR /&gt; 
&lt;BR /&gt;Hope it helps you. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Dec 2017 08:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362234#M126410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T08:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: control table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362235#M126411</link>
      <description>Hi,
&lt;BR /&gt;I'm new to talend I have no idea about
&lt;BR /&gt;Context variables .
&lt;BR /&gt;How to create and how to use
&lt;BR /&gt;Can you please help me with it.
&lt;BR /&gt;Regards
&lt;BR /&gt;Sumanth..
&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Dec 2017 08:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362235#M126411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T08:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: control table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362236#M126412</link>
      <description>Open the Context viewer to create context variables, define the variable name and select the data type, set a default value if needed. In this case, you should select 'Date' type.&lt;BR /&gt;&lt;BR /&gt;Once the variables are defined, you can use the variable like the format: context.varName in the job.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Dec 2017 08:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362236#M126412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T08:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: control table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362237#M126413</link>
      <description>Ok I will try it&lt;BR /&gt;Thanks for quick response ..</description>
      <pubDate>Wed, 20 Dec 2017 09:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362237#M126413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: control table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362238#M126414</link>
      <description>&lt;P&gt;hello Shong,as per your suggesion i created 2 context variable but when i connecting run if condition it cant be connected to output, and How to set run if condition &amp;nbsp;(&lt;SPAN&gt;TalendDate.compareDate(context.controlDate, context.sourceDate)==1&lt;/SPAN&gt;&lt;BR /&gt;) means where to set condition???? i attached the screen shot of my job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lrib"&gt;talend.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 17 Jan 2018 13:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362238#M126414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-17T13:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: control table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362239#M126415</link>
      <description>Hi 
&lt;BR /&gt;RunIf can't be connected to output , it should be connected to another subjob, eg:
&lt;BR /&gt;toracleinput1-main-tJavarow1--oncomponentok--tOracleInput2--main--tJavaRow2--runIf--tOracleInput3--main--&amp;gt;tOracleOutput3
&lt;BR /&gt;
&lt;BR /&gt;The subjob starting from tOracleInput3 is triggered to run only when the condition of runIf is true.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 17 Jan 2018 14:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/control-table/m-p/2362239#M126415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-17T14:35:07Z</dc:date>
    </item>
  </channel>
</rss>

