<?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: suspendTableWithComputedColumn internal parameter in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/suspendTableWithComputedColumn-internal-parameter/m-p/2465677#M11697</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Tajima-san,&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280" target="_blank"&gt;@iti-attunity-sup&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Per my understanding there is enhancement around computed columns replication for SQL Server source endpoint:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1- The computed column(s) values are replicated to target side during Full Load stage;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- &lt;A title="During CDC, INSERTs to computed columns will appear as NULL on the target and UPDATEs will be ignored" href="https://help.qlik.com/en-US/replicate/May2024/Content/Global_Common/Content/SharedReplicateHDD/SQLServer-Source/limitations_source_SQLServerDB.htm#:~:text=Replication%20of%20computed%20columns%20is%20supported%20in%20Full%20Load%20replication%20tasks%20only.%20During%20CDC%2C%20INSERTs%20to%20computed%20columns%20will%20appear%20as%20NULL%20on%20the%20target%20and%20UPDATEs%20will%20be%20ignored." target="_blank" rel="noopener"&gt;During CDC, INSERTs to computed columns will appear as NULL on the target and UPDATEs will be ignored&lt;/A&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3- Looks to me the internal parameter&amp;nbsp;&lt;STRONG&gt;suspendTableWithComputedColumn&lt;/STRONG&gt; is deprecated in 2023.11 newer builds and 2024.5 GA. Its value (true or false) does not impact the task behavior.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;4- No warning No error presents upon source side tables INSERT/UPDATE/DELETE operations even the table has computed column(s), all works smoothly in Qlik Replicate 2023.11/2024.5.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;5- The below limitation applies to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Qlik Replicate 2022.11 and lower versions:&amp;nbsp;&lt;A title="During change processing, any tables with computed columns will be suspended" href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedReplicateHDD/SQLServer-Source/limitations_source_SQLServerDB.htm#:~:text=During%20change%20processing%2C%20any%20tables%20with%20computed%20columns%20will%20be%20suspended.%20If%20you%20need%20to%20run%20an%20Apply%20Changes%20and/or%20Store%20Changes%20task%20that%20captures%20changes%20from%20tables%20with%20computed%20columns%2C%20you%20should%20define%20a%20transformation%20to%20exclude%20such%20columns%20from%20the%20task." target="_blank" rel="noopener"&gt;During change processing, any tables with computed columns will be suspended&lt;/A&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;Replication of computed columns is supported in Full Load replication tasks only. During CDC, &lt;BR /&gt;INSERTs to computed columns will appear as NULL on the target and UPDATEs will be ignored.&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;From Qlik Replicate 2023.5 and up the above limitation was removed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BTW, it's easy to find out all the computed columns in a database. A sample of the SQL:&lt;/SPAN&gt;&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;SELECT SCHEMA_NAME(o.schema_id) AS schema_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;c.name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AS column_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OBJECT_NAME(c.object_id) AS table_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TYPE_NAME(user_type_id)&amp;nbsp; AS data_type, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;definition&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM&amp;nbsp; &amp;nbsp;sys.computed_columns c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;JOIN&amp;nbsp; &amp;nbsp;sys.objects o ON o.object_id = c.object_id&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ORDER&amp;nbsp; BY schema_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; column_id;&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2024 11:17:48 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2024-06-26T11:17:48Z</dc:date>
    <item>
      <title>suspendTableWithComputedColumn internal parameter</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/suspendTableWithComputedColumn-internal-parameter/m-p/2464836#M11666</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I would like to ask some questions regarding &lt;STRONG&gt;suspendTableWithComputedColumn&lt;/STRONG&gt; internal parameter.&lt;BR /&gt;&lt;BR /&gt;I had understood as follows based on the descriptions of the articles(*).&lt;/P&gt;
&lt;P&gt;In the source endpoints which do not support computed columns for CDC, such as SQL Server&lt;BR /&gt;setting &lt;STRONG&gt;suspendTableWithComputedColumn&lt;/STRONG&gt; as true would suspend only the table with a computed column&amp;nbsp;and when it is false, the whole task will stop.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;(*)&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Replication-of-MS-SQL-tables-that-include-computed-columns/ta-p/1850667" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Official-Support-Articles/Replication-of-MS-SQL-tables-that-include-computed-columns/ta-p/1850667&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Replicate/Advanced-setting-tab-for-the-Microsoft-Azure-SQL-Database-as/td-p/2067075" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Replicate/Advanced-setting-tab-for-the-Microsoft-Azure-SQL-Database-as/td-p/2067075&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However as far as I have confirmed in house using MS SQL Server, no errors occur during CDC even if the table has computed columns.&lt;BR /&gt;As is described in the online documentation, INSERTs to computed columns will appear as NULL on the target and UPDATEs will be ignored.&lt;BR /&gt;The table does not get suspended nor the task does not also stop.&lt;/P&gt;
&lt;P&gt;* I confirmed it in v2023.11.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/replicate/November2023/Content/Replicate/Main/AWS%20RDS%20MSSQL/aws_limitations_source_SQLServerDB.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/replicate/November2023/Content/Replicate/Main/AWS%20RDS%20MSSQL/aws_limitations_source_SQLServerDB.htm&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;Replication of computed columns is supported in Full Load replication tasks only. During CDC, &lt;BR /&gt;INSERTs to computed columns will appear as NULL on the target and UPDATEs will be ignored.&lt;/PRE&gt;
&lt;P&gt;&amp;lt;Questions&amp;gt;&lt;/P&gt;
&lt;P&gt;1. I would like to know what kind of situation&amp;nbsp;setting&lt;STRONG&gt; suspendTableWithComputedColumn&lt;/STRONG&gt; as true would be effective (suspend the table) in SQL Server.&lt;/P&gt;
&lt;P&gt;2. Is it possible to detect the task contains table with computed columns in SQL Server?&lt;BR /&gt;I wonder we can not notice that the table has such columns&amp;nbsp;because the column is inserted as NULL or updates are silently ignored without any errors.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;As a background of this question,&amp;nbsp;customer currently had this setting disabled.&lt;BR /&gt;Now the customer is trying to migrate on-premise server to RDS and rechecking the parameters.&lt;BR /&gt;Since it is enabled by default for MS SQL Server endpoint, we would like to determine if it is better to be enabled.&lt;/P&gt;
&lt;P&gt;Any advice would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Kyoko Tajima&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 08:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/suspendTableWithComputedColumn-internal-parameter/m-p/2464836#M11666</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2024-06-24T08:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: suspendTableWithComputedColumn internal parameter</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/suspendTableWithComputedColumn-internal-parameter/m-p/2465510#M11690</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Tajima-san,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out to Qlik Community!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please allow us some time,We are&amp;nbsp; going to confirm the behavior and get back to you with our findings shortly.&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>Wed, 26 Jun 2024 03:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/suspendTableWithComputedColumn-internal-parameter/m-p/2465510#M11690</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-06-26T03:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: suspendTableWithComputedColumn internal parameter</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/suspendTableWithComputedColumn-internal-parameter/m-p/2465677#M11697</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Tajima-san,&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280" target="_blank"&gt;@iti-attunity-sup&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Per my understanding there is enhancement around computed columns replication for SQL Server source endpoint:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1- The computed column(s) values are replicated to target side during Full Load stage;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- &lt;A title="During CDC, INSERTs to computed columns will appear as NULL on the target and UPDATEs will be ignored" href="https://help.qlik.com/en-US/replicate/May2024/Content/Global_Common/Content/SharedReplicateHDD/SQLServer-Source/limitations_source_SQLServerDB.htm#:~:text=Replication%20of%20computed%20columns%20is%20supported%20in%20Full%20Load%20replication%20tasks%20only.%20During%20CDC%2C%20INSERTs%20to%20computed%20columns%20will%20appear%20as%20NULL%20on%20the%20target%20and%20UPDATEs%20will%20be%20ignored." target="_blank" rel="noopener"&gt;During CDC, INSERTs to computed columns will appear as NULL on the target and UPDATEs will be ignored&lt;/A&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3- Looks to me the internal parameter&amp;nbsp;&lt;STRONG&gt;suspendTableWithComputedColumn&lt;/STRONG&gt; is deprecated in 2023.11 newer builds and 2024.5 GA. Its value (true or false) does not impact the task behavior.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;4- No warning No error presents upon source side tables INSERT/UPDATE/DELETE operations even the table has computed column(s), all works smoothly in Qlik Replicate 2023.11/2024.5.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;5- The below limitation applies to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Qlik Replicate 2022.11 and lower versions:&amp;nbsp;&lt;A title="During change processing, any tables with computed columns will be suspended" href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedReplicateHDD/SQLServer-Source/limitations_source_SQLServerDB.htm#:~:text=During%20change%20processing%2C%20any%20tables%20with%20computed%20columns%20will%20be%20suspended.%20If%20you%20need%20to%20run%20an%20Apply%20Changes%20and/or%20Store%20Changes%20task%20that%20captures%20changes%20from%20tables%20with%20computed%20columns%2C%20you%20should%20define%20a%20transformation%20to%20exclude%20such%20columns%20from%20the%20task." target="_blank" rel="noopener"&gt;During change processing, any tables with computed columns will be suspended&lt;/A&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;Replication of computed columns is supported in Full Load replication tasks only. During CDC, &lt;BR /&gt;INSERTs to computed columns will appear as NULL on the target and UPDATEs will be ignored.&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;From Qlik Replicate 2023.5 and up the above limitation was removed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BTW, it's easy to find out all the computed columns in a database. A sample of the SQL:&lt;/SPAN&gt;&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;SELECT SCHEMA_NAME(o.schema_id) AS schema_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;c.name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AS column_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OBJECT_NAME(c.object_id) AS table_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TYPE_NAME(user_type_id)&amp;nbsp; AS data_type, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;definition&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM&amp;nbsp; &amp;nbsp;sys.computed_columns c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;JOIN&amp;nbsp; &amp;nbsp;sys.objects o ON o.object_id = c.object_id&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ORDER&amp;nbsp; BY schema_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table_name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; column_id;&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 11:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/suspendTableWithComputedColumn-internal-parameter/m-p/2465677#M11697</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-06-26T11:17:48Z</dc:date>
    </item>
  </channel>
</rss>

