<?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: UPDATE statements creating null values in target in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158960#M8765</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Mohammed&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Happy New Year!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Would you please share with us the Oracle version and Replicate version information, and also the table creation DDL, we'd like to have a confirmation for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 05:39:42 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2024-01-08T05:39:42Z</dc:date>
    <item>
      <title>UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158955#M8764</link>
      <description>&lt;P&gt;Hi support,&lt;/P&gt;
&lt;P&gt;Happy new year, I hope all is well for you guys. I have recently come across this issue with a client where there is some odd behaviour.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The setup is a logstream task from Oracle to Eventhubs in the dev environment. The odd behaviour is whenever a an update occurs on this one specific table in the task, consequently the updated columns + the primary key column become null on the target. It only happens for this one specific table and none of the others in the task.&lt;/P&gt;
&lt;P&gt;I discovered in the logs this message. I also checked the Oracle limitations and found that Function-based indexes are not supported.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MoeyE_0-1704690890556.png" style="width: 792px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126624i469A2397E15F3A68/image-dimensions/792x97?v=v2" width="792" height="97" role="button" title="MoeyE_0-1704690890556.png" alt="MoeyE_0-1704690890556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Screenshot within Oracle.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MoeyE_1-1704690968700.png" style="width: 800px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126625i06BB879C801C0159/image-dimensions/800x28?v=v2" width="800" height="28" role="button" title="MoeyE_1-1704690968700.png" alt="MoeyE_1-1704690968700.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This lead me to assume that this strange behaviour is caused as Function-based index is enabled for the table. I will confirm whether this is the only table that has function-based index enabled. I just need someone to to confirm whether this is indeed the cause of this strange behaviour. In the meantime, I will also try to test it in my environment.&lt;/P&gt;
&lt;P&gt;Any help with this is greatly appreciated.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 05:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158955#M8764</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-01-08T05:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158960#M8765</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Mohammed&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Happy New Year!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Would you please share with us the Oracle version and Replicate version information, and also the table creation DDL, we'd like to have a confirmation for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 05:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158960#M8765</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-01-08T05:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158961#M8766</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Oracle 19&lt;/P&gt;
&lt;P&gt;QR November 2022&lt;/P&gt;
&lt;P&gt;Is there an email or link I can use to securely provide the DDL? Thanks.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 05:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158961#M8766</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-01-08T05:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158963#M8767</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Mohammed,&amp;nbsp;&lt;/SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please open a support ticket and provide the necessary information, we'd like to pick it up from there.&lt;/P&gt;
&lt;P&gt;BTW, could you please confirm if the Oracle 19C is a Container installation , or non-Container? just want to know if LogMiner is supported or not.&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 05:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2158963#M8767</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-01-08T05:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163516#M8985</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Per my investigation, the "&lt;SPAN&gt;null values in target&lt;/SPAN&gt;" was not caused by &lt;CODE&gt;Function-Based Indexes&lt;/CODE&gt;, instead, it's supplemental logging setting related issue.&lt;/P&gt;
&lt;P&gt;If the table has not PK but has only &lt;CODE&gt;Function-Based Indexes&lt;/CODE&gt;, then Qlik Replicate regard the table as no PK nor Unique Index, under this scenario all the columns should be added to supplemental logging if Kafka is the target endpoint. Qlik Replicate should add it automatically (with default setting) unless the Oracle source endpoint option "&lt;FONT face="courier new,courier"&gt;Automatically add supplemental logging&lt;/FONT&gt;" was turned off:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1705727208460.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127468iA382B27A93ADE79C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1705727208460.png" alt="john_wang_0-1705727208460.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then DBA can add it manually, like:&lt;/P&gt;
&lt;TABLE style="border-style: none; width: 100%; background-color: lightgrey;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;FONT face="courier new,courier"&gt;ALTER TABLE FBI ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;The test table looks like:&lt;/P&gt;
&lt;TABLE style="border-style: none; width: 100%; background-color: lightgrey;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;CREATE TABLE FBI (ID INTEGER, NAME CHAR(20), NOTES VARCHAR2(200));&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;CREATE UNIQUE INDEX FBI_IDX ON FBI(UPPER(NAME));&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Where "&lt;FONT face="courier new,courier"&gt;FBI&lt;/FONT&gt;" is the table name, "&lt;FONT face="courier new,courier"&gt;FBI_IDX&lt;/FONT&gt;" is the Function Based Index name.&lt;/P&gt;
&lt;P&gt;After add the supplemental logging correctly, then all columns in Kafka target get not null values in CDC stage.&lt;/P&gt;
&lt;P&gt;BTW, there are information to indicate the&amp;nbsp;&lt;CODE&gt;Function-Based Indexes&lt;/CODE&gt; is not supported in source_unload stage. It impacts the Full Load stage but no impact to CDC stage:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;2024-01-20T12:33:19:855355 [SOURCE_UNLOAD ]I: Unique index FBI_IDX of the table 'SCOTT.FBI' cannot be used because the column 'SYS_NC00004$' is not supported (oracle_endpoint_table.c:1594)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;(Test env: Qlik Replicate 2023.5 + Oracle 12c + Kafka 3.6)&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 05:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163516#M8985</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-01-20T05:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163611#M8993</link>
      <description>&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for helping out with the extra information on this. It was indeed helpful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have already checked that supplemental logging is enabled on all columns but perhaps it is best for me to double check that it is implemented correctly anyways.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 22:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163611#M8993</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-01-21T22:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163618#M8994</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214271"&gt;@MoeE&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update. Yes please. BTW, LogMiner option is still available if their Oracle installation is non-CDB mode, we can use pure Logminer script (our of Qlik Replicate) to cross-check what's the contents in the redo log file. anyway, looks to me it's not hard to figure out the root cause.&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 01:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163618#M8994</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-01-22T01:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163621#M8995</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Thanks, I've just suggested to the customer now to look through the redo logs to see if the entries are being created correctly. If there seems to be an issue there I will ask them to remove then recreate the supplemental logging then try again. I will update you on how this goes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 01:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163621#M8995</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-01-22T01:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163627#M8996</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Additionally we have discovered that this only happens when a transformation is added to the table. The transformation simply adds a column that contains the name of the source table. Removing this transformation fixes the issue yet the customer requires this column.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have supplemental logging enable for all columns yet this transformation still produces null for the updated records.&lt;/P&gt;
&lt;P&gt;any thoughts?&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 02:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163627#M8996</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-01-22T02:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163686#M9002</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;
&lt;P&gt;To add more to previous Tse Comments.&amp;nbsp;&lt;SPAN&gt;supplemental logging enable for all columns helps&amp;nbsp;replicate to identify the coloums or Row on the target Side. However,&amp;nbsp;transformation works&amp;nbsp;in different&amp;nbsp;way as it happens on the Fly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;fetch Source info -- transformation --&amp;nbsp;Applied it on the target.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How to are going to fetch the Table name my lead to some info.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Reagrds,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sushil Kumar&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 07:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2163686#M9002</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-01-22T07:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statements creating null values in target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2164107#M9016</link>
      <description>&lt;P&gt;Hi Sushil,&lt;/P&gt;
&lt;P&gt;I've looked at the redo log and it seems that all columns are there. Do you have any insight on the mechanics behind how exactly transformations occur in a CDC task? Specifically in the case where you're adding an extra column? The issue behaviour occurs simply even if we add the column and insert some text as the value, it doesn't need to be grabbing data from the source. Any thoughts?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 23:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/UPDATE-statements-creating-null-values-in-target/m-p/2164107#M9016</guid>
      <dc:creator>MoeE</dc:creator>
      <dc:date>2024-01-22T23:29:34Z</dc:date>
    </item>
  </channel>
</rss>

