<?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: Not to perform cdc on a column in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2063382#M5758</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I managed to filter CDC for a table using the Filter functionality, under:&lt;/P&gt;
&lt;P&gt;Double click on a table in task table selection -&amp;gt;Table Settings -&amp;gt; Filter -&amp;gt; click on Expression Builder&lt;/P&gt;
&lt;P&gt;So, for example i used the headers section and chose the header value: 'AR_H_OPERATION'&lt;/P&gt;
&lt;P&gt;Which is the CDC operation value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$AR_H_OPERATION == 'INSERT' OR $AR_H_OPERATION == 'UPDATE' OR $AR_H_OPERATION == 'DELETE'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shorter version:&amp;nbsp;$AR_H_OPERATION IN ('INSERT', 'UPDATE', 'DELETE')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Reads as if i did a change on the source, filter it out, could be any of the three options)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;length($AR_H_USER) == 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Only if there is no user replicate the records, could happen only in full load mode, for cdc this column always has a value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option outside of filtering is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the tables don't get changed on the source database, you could always designate those tables into a separate full load only task mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to point out two things:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. It doesn't really stop the cdc process only filters the records based on the expression so that you won't get changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. The filter functionality also dictates the full load, so when designing expressions, the filter functionality can dictate record replication for both full load and cdc, if you need a filter for full load only you will need to use the passthrough filter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These filter expressions are for the whole table, most likely there is also a way to include a specific column in these expressions.&lt;/P&gt;
&lt;P&gt;I would advise testing the above expressions in a test enviroment.&lt;/P&gt;</description>
    <pubDate>Sun, 23 Apr 2023 14:25:48 GMT</pubDate>
    <dc:creator>Shai_E</dc:creator>
    <dc:date>2023-04-23T14:25:48Z</dc:date>
    <item>
      <title>Not to perform cdc on a column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2063364#M5757</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;If i want to avoid performing cdc on a particular column or table, then how can i do it in Qlik replicate.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I mean to say , after full load, cdc will start right ? so while cdc is in process, the data in few tables and columns should not change.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please let me know if its possible or not ? If so how?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 08:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2063364#M5757</guid>
      <dc:creator>suvbin</dc:creator>
      <dc:date>2023-04-23T08:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Not to perform cdc on a column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2063382#M5758</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I managed to filter CDC for a table using the Filter functionality, under:&lt;/P&gt;
&lt;P&gt;Double click on a table in task table selection -&amp;gt;Table Settings -&amp;gt; Filter -&amp;gt; click on Expression Builder&lt;/P&gt;
&lt;P&gt;So, for example i used the headers section and chose the header value: 'AR_H_OPERATION'&lt;/P&gt;
&lt;P&gt;Which is the CDC operation value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$AR_H_OPERATION == 'INSERT' OR $AR_H_OPERATION == 'UPDATE' OR $AR_H_OPERATION == 'DELETE'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shorter version:&amp;nbsp;$AR_H_OPERATION IN ('INSERT', 'UPDATE', 'DELETE')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Reads as if i did a change on the source, filter it out, could be any of the three options)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;length($AR_H_USER) == 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Only if there is no user replicate the records, could happen only in full load mode, for cdc this column always has a value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option outside of filtering is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the tables don't get changed on the source database, you could always designate those tables into a separate full load only task mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to point out two things:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. It doesn't really stop the cdc process only filters the records based on the expression so that you won't get changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. The filter functionality also dictates the full load, so when designing expressions, the filter functionality can dictate record replication for both full load and cdc, if you need a filter for full load only you will need to use the passthrough filter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These filter expressions are for the whole table, most likely there is also a way to include a specific column in these expressions.&lt;/P&gt;
&lt;P&gt;I would advise testing the above expressions in a test enviroment.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 14:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2063382#M5758</guid>
      <dc:creator>Shai_E</dc:creator>
      <dc:date>2023-04-23T14:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Not to perform cdc on a column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2063401#M5759</link>
      <description>&lt;P&gt;Our business case is to only select particular changes in a table; instead of a whole table so we use a filter like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;($AR_H_OPERATION != 'UPDATE') OR
(
  ($AR_H_OPERATION == 'UPDATE') AND 
  (
    ( $BI__FIELD_1 != $FIELD_1 ) OR ( $BI__FIELD_1 IS NULL AND $FIELD_1 IS NOT NULL ) OR ( $BI__FIELD_1 IS NOT NULL AND $FIELD_1 IS NULL ) OR
    ( $BI__FIELD_2 != $FIELD_2 ) OR ( $BI__FIELD_2 IS NULL AND $FIELD_2 IS NOT NULL ) OR ( $BI__FIELD_2 IS NOT NULL AND $FIELD_2 IS NULL ) OR
    /*( $BI__DONT_CAPTURE_THIS_FIELD != $DONT_CAPTURE_THIS_FIELD ) OR ( $BI__DONT_CAPTURE_THIS_FIELD IS NULL AND $DONT_CAPTURE_THIS_FIELD IS NOT NULL ) OR ( $BI__DONT_CAPTURE_THIS_FIELD IS NOT NULL AND $DONT_CAPTURE_THIS_FIELD IS NULL ) OR*/
    ( $BI__FIELD_4 != $FIELD_4 ) OR ( $BI__FIELD_4 IS NULL AND $FIELD_4 IS NOT NULL ) OR ( $BI__FIELD_4 IS NOT NULL AND $FIELD_4 IS NULL )
 )
)


&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;It can get a bit clunky with wide tables.&amp;nbsp; I developed a script to take a list of fields that we needed and create the filter to reduce human error creating the filter manually.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 00:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2063401#M5759</guid>
      <dc:creator>Jon_Donker</dc:creator>
      <dc:date>2023-04-24T00:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Not to perform cdc on a column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2066396#M5838</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/90520"&gt;@suvbin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello thank you for&amp;nbsp; the post to the QDI Forums. As noted by Shai were you able to test out the post to this question and share the results? The option for this process or your requirement as Shai posted would be a Full Load only Task and a CDC only Task per the process. If this needs more in depth research I would request you open a Support ticket with the QDI Team and work with one of our TSE's on the case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: As per your Expression if the management of the Columns is being done you could add the Operations Insert/Update/Delete in the Expression via Case statements.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 18:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Not-to-perform-cdc-on-a-column/m-p/2066396#M5838</guid>
      <dc:creator>Bill_Steinagle</dc:creator>
      <dc:date>2023-05-01T18:00:05Z</dc:date>
    </item>
  </channel>
</rss>

