<?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: Soft delete a transaction without losing existing column values in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2122743#M7442</link>
    <description>&lt;P&gt;That's not supposed to happen in general, but I think there are exceptions, specifically MS SQL using MS-CDC instead of log-reading.&lt;/P&gt;
&lt;P&gt;Please indicate the EXACT source configuration used with version and the Replicate version used.&lt;/P&gt;
&lt;P&gt;You may want test using "store changes" to see what information is available for Replicate to work with.&lt;/P&gt;
&lt;P&gt;Regards, Hein.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 04:00:19 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2023-09-27T04:00:19Z</dc:date>
    <item>
      <title>Soft delete a transaction without losing existing column values</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2122734#M7441</link>
      <description>&lt;P&gt;Using operation function, my soft delete flag is working but when delete operation on source becomes update on target it just retains the primary key columns and wipes out all other columns on the target side. How can I retain other columns ?&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;Before&lt;/P&gt;
&lt;P&gt;EmpId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp; Is_Delete&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; John&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NULL&lt;/P&gt;
&lt;P&gt;After&lt;/P&gt;
&lt;P&gt;EmpId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name &amp;nbsp; &amp;nbsp; Is_Delete&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NULL &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ I lost "Name" value with soft delete flag ]&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 02:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2122734#M7441</guid>
      <dc:creator>nigupta</dc:creator>
      <dc:date>2023-09-27T02:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Soft delete a transaction without losing existing column values</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2122743#M7442</link>
      <description>&lt;P&gt;That's not supposed to happen in general, but I think there are exceptions, specifically MS SQL using MS-CDC instead of log-reading.&lt;/P&gt;
&lt;P&gt;Please indicate the EXACT source configuration used with version and the Replicate version used.&lt;/P&gt;
&lt;P&gt;You may want test using "store changes" to see what information is available for Replicate to work with.&lt;/P&gt;
&lt;P&gt;Regards, Hein.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 04:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2122743#M7442</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-09-27T04:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Soft delete a transaction without losing existing column values</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2122984#M7457</link>
      <description>&lt;P&gt;I am using PostgreSql Version 13 as source.&lt;/P&gt;
&lt;P&gt;Also, noticed that store change table also did not capture previous value of "Name" .&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 12:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2122984#M7457</guid>
      <dc:creator>nigupta</dc:creator>
      <dc:date>2023-09-27T12:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Soft delete a transaction without losing existing column values</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2123052#M7459</link>
      <description>&lt;P&gt;The Replicate userguide for Postgres indicates "l Replication of the Before Image is not supported. "&lt;/P&gt;
&lt;P&gt;This is confirmed by your Store Changes test. (thanks)&lt;/P&gt;
&lt;P&gt;That being the case the current implementation of soft-delete cannot work because the current implementation (in bulk mode) updates all columns. You could try and see if Transactional mode behaves differently. In your tests (single rows, single table) switch logging to TARGET_APPLY VERBOSE to see how Replicate works.&lt;/P&gt;
&lt;P&gt;Theoretically it would seem&amp;nbsp; feasible for Replicate to use a dedicated apply method for soft-delete only changing the flag field.&amp;nbsp; That would seems like a valid and viable improvement request. But even if such request is approved it will take a while (months, possibly years) before you'll see it in the field so you may want to look for some alternative or tell the actual customer you cannot offer this feature.&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 14:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Soft-delete-a-transaction-without-losing-existing-column-values/m-p/2123052#M7459</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-09-27T14:05:16Z</dc:date>
    </item>
  </channel>
</rss>

