<?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: Apply Change Settings (Ignore Drop) in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061287#M5690</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193288"&gt;@guilherme-matte&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Agree with Swathi. Besides that, the new records in the 'new' table will be captured in CDC stage as well (depends on the method how the records insert/load/reload to the source table), so:&lt;/P&gt;
&lt;P&gt;1- if the target table does not have PK/Unique Index etc constraint, then we got these rows in target table;&lt;/P&gt;
&lt;P&gt;2- if the target tables prevent duplicate rows (because of PK/UI constraints etc) then we got applying warning/error. In general the default behavior is recording these violation records into apply exceptions tables and going on the applying; or we may custom the error handling behavior, eg switch to UPSERT mode in this scenario etc.&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>Tue, 18 Apr 2023 02:42:10 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-04-18T02:42:10Z</dc:date>
    <item>
      <title>Apply Change Settings (Ignore Drop)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061276#M5688</link>
      <description>&lt;P&gt;Hello guys&lt;/P&gt;
&lt;P&gt;We have a case in which our source table gets dropped every once in a while and its reloaded with new records but same structure. My doubt is, if i enable the option to ignore the DROP statement in the task Change Processing options, whenever the table is recreated does CDC captures the new records from this "new" table,&amp;nbsp; what would happen in this case?&lt;/P&gt;
&lt;P&gt;Kind regards!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 02:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061276#M5688</guid>
      <dc:creator>guilherme-matte</dc:creator>
      <dc:date>2023-04-18T02:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Change Settings (Ignore Drop)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061284#M5689</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193288"&gt;@guilherme-matte&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The recommended approach varies based on the source endpoint being used.&amp;nbsp;Because for Oracle the object might get changed when the DDL is dropped at the source. So it is always recommended to do a reload when the DDL gets dropped at the source.&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;</description>
      <pubDate>Tue, 18 Apr 2023 02:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061284#M5689</guid>
      <dc:creator>SwathiPulagam</dc:creator>
      <dc:date>2023-04-18T02:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Change Settings (Ignore Drop)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061287#M5690</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/193288"&gt;@guilherme-matte&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Agree with Swathi. Besides that, the new records in the 'new' table will be captured in CDC stage as well (depends on the method how the records insert/load/reload to the source table), so:&lt;/P&gt;
&lt;P&gt;1- if the target table does not have PK/Unique Index etc constraint, then we got these rows in target table;&lt;/P&gt;
&lt;P&gt;2- if the target tables prevent duplicate rows (because of PK/UI constraints etc) then we got applying warning/error. In general the default behavior is recording these violation records into apply exceptions tables and going on the applying; or we may custom the error handling behavior, eg switch to UPSERT mode in this scenario etc.&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>Tue, 18 Apr 2023 02:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061287#M5690</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-04-18T02:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Change Settings (Ignore Drop)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061293#M5691</link>
      <description>&lt;P&gt;Thanks for the Reply&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp; and&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;But if i leave enabled the Drop Table feature, does it creates it again whenever the table is re-created at the source? Or it would be the case of reloading the whole task in this case?&lt;/P&gt;
&lt;P&gt;Note: the database for this scenario is a SQL Server, the table does have a PK as well.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;this UPSERT switch is made through which option?&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 03:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061293#M5691</guid>
      <dc:creator>guilherme-matte</dc:creator>
      <dc:date>2023-04-18T03:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Change Settings (Ignore Drop)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061808#M5710</link>
      <description>&lt;P&gt;Did you just try it? That's the best thing to start with in your own environment.&lt;/P&gt;
&lt;P&gt;Next when the results do not match your expectation please do ask here making clear what you did, what you expected, what you saw, the replicate version/platform, the source and target DB's with version if you can).&lt;/P&gt;
&lt;P&gt;On SQLserver you wouldn't get very far getting:&lt;/P&gt;
&lt;P&gt;---&amp;nbsp;&lt;EM&gt;Cannot drop the table 'dbo.test' because it is being used for replication.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;On Oracle the table object ID will change and the running task is only looking for the old ID and will not see the new change.&lt;/P&gt;
&lt;P&gt;Now without thinking about it too much about it I expected I just needed a stop+resume, for a table dropped and recreated with ignore drop on CDC in the task. I was a little surprised that did NOT pick up the changes in a crude test. To see new changes I had to re-load loosing the old contents which the CDC 'ignore drop' had protected. I suppose I should have change my full-load setting to 'do nothing' to keep the old data if needed. Hmmm. maybe I'll try some more after a beer or two, but not now. You try!&lt;/P&gt;
&lt;P&gt;Reload will get everything working, which is simple and safe. It may be more productive to work on the mission definition and goals than the technology: Why/Whed are tables on source re-created. What is the desired action on the target? Should/Could the replication be stopped when this is happening? Those are more business questions than Replicate question within the constraints of what Replicate can do.&lt;/P&gt;
&lt;P&gt;hope this helps some,&lt;/P&gt;
&lt;P&gt;Hein.&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>Wed, 19 Apr 2023 02:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Apply-Change-Settings-Ignore-Drop/m-p/2061808#M5710</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-04-19T02:08:26Z</dc:date>
    </item>
  </channel>
</rss>

