<?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: Redshift post-processing in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1925291#M2558</link>
    <description>&lt;P&gt;Replicate Build-in post processing command are limited to CSV type file processing.&lt;/P&gt;
&lt;P&gt;I think your best bet is to create a polling script either using the REPCTL commandline gettaskstatus on the repiicate server, or the Enterprise&amp;nbsp; &amp;nbsp; Manager gettaskstatus Api call from anywhere to find the current task status.&lt;/P&gt;
&lt;P&gt;You would look for state =STOPPED&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When state=running, just wait and check again. Optionally report current time, full_load_completed_tables_count / full_load_loading_tables_count / full_load_queued_tables_count&lt;/P&gt;
&lt;P&gt;When state=error - report via Email or similar optionally indicating start_time, and various table counts&lt;/P&gt;
&lt;P&gt;When state=stopped verify you further details for 'reasonable values' to decide to call it good and run post-processing of report failure after all.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;full_load_completed=1&lt;/LI&gt;
&lt;LI&gt;full_load_finish_time &amp;gt; last recorded starting time&amp;nbsp; or 'yesterday' or whatever is appropriate.&lt;/LI&gt;
&lt;LI&gt;full_load_completed_tables_count = expected count&lt;/LI&gt;
&lt;LI&gt;full_load_total_record_transferred &amp;gt;= some expected minimum (yesterday's number?)&lt;/LI&gt;
&lt;LI&gt;full_load_error_tables_count = 0&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hein&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 17:57:39 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2022-05-02T17:57:39Z</dc:date>
    <item>
      <title>Redshift post-processing</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1924904#M2548</link>
      <description>&lt;P&gt;I need to execute some post processing script on my Redshift target once the full load has completed.&lt;/P&gt;
&lt;P&gt;i.e. call a stored procedure&lt;/P&gt;
&lt;P&gt;Is this possible to trigger from Replicate&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 22:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1924904#M2548</guid>
      <dc:creator>simonB2020</dc:creator>
      <dc:date>2022-04-30T22:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift post-processing</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1924905#M2549</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the Redshift target, there is no option to run a post-processing script or stored procedures from Qlik Replicate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Swathi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 22:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1924905#M2549</guid>
      <dc:creator>SwathiPulagam</dc:creator>
      <dc:date>2022-04-30T22:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift post-processing</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1924927#M2551</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;, copy&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144170"&gt;@SwathiPulagam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Maybe you can STOP the task automatically after the Full Load completion by enabling option "&lt;SPAN&gt;Before cached changes have been applied". Then run your custom scripts and RESUME the task again after the scripts execution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1651372952968.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78390i5B5F8B1897251A6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1651372952968.png" alt="john_wang_1-1651372952968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2022 02:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1924927#M2551</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2022-05-01T02:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Redshift post-processing</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1925291#M2558</link>
      <description>&lt;P&gt;Replicate Build-in post processing command are limited to CSV type file processing.&lt;/P&gt;
&lt;P&gt;I think your best bet is to create a polling script either using the REPCTL commandline gettaskstatus on the repiicate server, or the Enterprise&amp;nbsp; &amp;nbsp; Manager gettaskstatus Api call from anywhere to find the current task status.&lt;/P&gt;
&lt;P&gt;You would look for state =STOPPED&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When state=running, just wait and check again. Optionally report current time, full_load_completed_tables_count / full_load_loading_tables_count / full_load_queued_tables_count&lt;/P&gt;
&lt;P&gt;When state=error - report via Email or similar optionally indicating start_time, and various table counts&lt;/P&gt;
&lt;P&gt;When state=stopped verify you further details for 'reasonable values' to decide to call it good and run post-processing of report failure after all.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;full_load_completed=1&lt;/LI&gt;
&lt;LI&gt;full_load_finish_time &amp;gt; last recorded starting time&amp;nbsp; or 'yesterday' or whatever is appropriate.&lt;/LI&gt;
&lt;LI&gt;full_load_completed_tables_count = expected count&lt;/LI&gt;
&lt;LI&gt;full_load_total_record_transferred &amp;gt;= some expected minimum (yesterday's number?)&lt;/LI&gt;
&lt;LI&gt;full_load_error_tables_count = 0&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hein&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 17:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Redshift-post-processing/m-p/1925291#M2558</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-05-02T17:57:39Z</dc:date>
    </item>
  </channel>
</rss>

