<?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: Passing timestamp dynamically to hql script in talend job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Passing-timestamp-dynamically-to-hql-script-in-talend-job/m-p/2231528#M21797</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;TalendDate.addDate(TalendDate.getCurrentDate(),"-20","dd") returns&amp;nbsp;20 days old date. Feel free to let us know if it is OK with you.&lt;/P&gt;
&lt;P&gt;Sorry for our silence. We do our best to answer as many posts as possible.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Wed, 19 Dec 2018 05:23:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-19T05:23:36Z</dc:date>
    <item>
      <title>Passing timestamp dynamically to hql script in talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-timestamp-dynamically-to-hql-script-in-talend-job/m-p/2231526#M21795</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;I want to pass timestamp dynamically&amp;nbsp; to hql script in Talend job.&lt;/P&gt; 
&lt;P&gt;I have to get the 20 days old date in a variable and pass that value to the hql script.&lt;/P&gt; 
&lt;P&gt;I have used thiverow in my Talend design to call hql script.&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="image.png" style="width: 223px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1bv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151080i1A8C283E5D1890E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1bv.png" alt="0683p000009M1bv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example 20 days old timestamp is '2018-11-24 &lt;SPAN&gt;07:12:18.371&lt;/SPAN&gt;'&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This timestamp &lt;SPAN&gt;'2018-11-24&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;07:12:18.371&lt;/SPAN&gt;&lt;SPAN&gt;'&amp;nbsp;&lt;/SPAN&gt;has to be the below hql.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;inserttbl=INSERT OVERWRITE TABLE mv_target PARTITION (name,cdt) SELECT * from mv_source WHERE cdt&amp;lt;=timestamp &lt;SPAN&gt;'2018-11-24&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;07:12:18.371&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Please help me.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-timestamp-dynamically-to-hql-script-in-talend-job/m-p/2231526#M21795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Passing timestamp dynamically to hql script in talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-timestamp-dynamically-to-hql-script-in-talend-job/m-p/2231527#M21796</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me ASAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 11:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-timestamp-dynamically-to-hql-script-in-talend-job/m-p/2231527#M21796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-13T11:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Passing timestamp dynamically to hql script in talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-timestamp-dynamically-to-hql-script-in-talend-job/m-p/2231528#M21797</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;TalendDate.addDate(TalendDate.getCurrentDate(),"-20","dd") returns&amp;nbsp;20 days old date. Feel free to let us know if it is OK with you.&lt;/P&gt;
&lt;P&gt;Sorry for our silence. We do our best to answer as many posts as possible.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2018 05:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-timestamp-dynamically-to-hql-script-in-talend-job/m-p/2231528#M21797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-19T05:23:36Z</dc:date>
    </item>
  </channel>
</rss>

