<?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>article Qlik Replicate and PostgreSQL source: task fails with data truncation in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-PostgreSQL-source-task-fails-with-data/ta-p/2483164</link>
    <description>&lt;P&gt;After an upgrade of &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Qlik Replicate&lt;/STRONG&gt;&lt;/FONT&gt; (2022.5 to 2023.11), tasks using a &lt;FONT color="#339966"&gt;&lt;STRONG&gt;PostgreSQL&lt;/STRONG&gt;&lt;/FONT&gt; source see truncations for the &lt;STRONG&gt;varchar column&lt;/STRONG&gt; when running a &lt;STRONG&gt;full load&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;The following is logged in the source_unload logging component:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_UNLOAD ]V: Value for (varChar column) &amp;nbsp;was truncated. bind type: -8, data len: 14 (14, after truncation: -2), bind len: 0, statement:&lt;/FONT&gt;&lt;/P&gt;
&lt;H3 style="-webkit-text-stroke-width: 0px; background-color: #ffffff; box-sizing: border-box; color: #181818; display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.17em; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; line-height: 1.2; margin-block: 1em; margin-inline: 0px; margin: 0px 0px var(--lwc-spacingSmall,0.75rem); orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3 style="-webkit-text-stroke-width: 0px; background-color: #ffffff; box-sizing: border-box; color: #181818; display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.17em; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; line-height: 1.2; margin-block: 1em; margin-inline: 0px; margin: 0px 0px var(--lwc-spacingSmall,0.75rem); orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;&lt;FONT style="box-sizing: border-box;"&gt;&lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI style="box-sizing: border-box;"&gt;Qlik Replicate&amp;nbsp;2023.11 and later&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;PostgreSQL&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Add the &lt;FONT color="#339966"&gt;&lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Internal Parameter&lt;/STRONG&gt; &lt;/FONT&gt;&lt;STRONG&gt;unboundedVarcharMaxSize&lt;/STRONG&gt; on the Postgres Aurora source endpoint and set it to &lt;STRONG&gt;8000&lt;/STRONG&gt;.&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;If you are using &lt;STRONG&gt;Logstream&lt;/STRONG&gt; setup, please add &lt;STRONG&gt;unboundedVarcharMaxSize&lt;/STRONG&gt; on the Postgres Aurora source endpoint in both the &lt;STRONG&gt;Logstream Parent task&lt;/STRONG&gt; and &lt;STRONG&gt;child task&lt;/STRONG&gt;.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To resolve the issue:&lt;/P&gt;
&lt;OL&gt;
&lt;LI style="box-sizing: border-box;"&gt;Go to the&amp;nbsp; &lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Endpoint&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;connection&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Switch to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Advanced&amp;nbsp;&lt;/STRONG&gt;tab&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Internal Parameters&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Add the &lt;STRONG&gt;Parameter&lt;/STRONG&gt;: &lt;FONT face="courier new,courier"&gt;unboundedVarcharMaxSize&lt;/FONT&gt; &lt;FONT face="courier new,courier" style="box-sizing: border-box;"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;If the parameter already exists,&amp;nbsp;&lt;EM&gt;modify&amp;nbsp;&lt;/EM&gt;the value as per step 5.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Add &lt;STRONG&gt;value&lt;/STRONG&gt;:&amp;nbsp;&lt;FONT face="courier new,courier" style="box-sizing: border-box;"&gt;8000&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="additionalConnectionProperties.png" style="width: 503px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172083iD50CF072512F5FF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="additionalConnectionProperties.png" alt="additionalConnectionProperties.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;For more information about Internal Parameters, see &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-How-to-set-Internal-Parameters-and-what-are-they/ta-p/2036183" target="_blank" rel="noopener"&gt;Qlik Replicate: How to set Internal Parameters and what are they for?&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;FONT face="courier new,courier" style="box-sizing: border-box;"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;The &lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Internal Parameter&lt;/STRONG&gt; has unexpectedly changed between Qlik Replicate 2022.5 and 2023.11. This only affected Postgres Aurora.&lt;/P&gt;
&lt;P&gt;While &lt;STRONG&gt;unboundedVarcharMaxSize &lt;/STRONG&gt;had a default value of &lt;STRONG&gt;8000&amp;nbsp;&lt;/STRONG&gt;in 2022.5, it is now set to&lt;STRONG&gt; -1&lt;/STRONG&gt; for Postgres Aurora by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;RECOB-8644&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 07:29:33 GMT</pubDate>
    <dc:creator>Michael_Litz</dc:creator>
    <dc:date>2024-09-25T07:29:33Z</dc:date>
    <item>
      <title>Qlik Replicate and PostgreSQL source: task fails with data truncation</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-PostgreSQL-source-task-fails-with-data/ta-p/2483164</link>
      <description>&lt;P&gt;After an upgrade of &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Qlik Replicate&lt;/STRONG&gt;&lt;/FONT&gt; (2022.5 to 2023.11), tasks using a &lt;FONT color="#339966"&gt;&lt;STRONG&gt;PostgreSQL&lt;/STRONG&gt;&lt;/FONT&gt; source see truncations for the &lt;STRONG&gt;varchar column&lt;/STRONG&gt; when running a &lt;STRONG&gt;full load&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;The following is logged in the source_unload logging component:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_UNLOAD ]V: Value for (varChar column) &amp;nbsp;was truncated. bind type: -8, data len: 14 (14, after truncation: -2), bind len: 0, statement:&lt;/FONT&gt;&lt;/P&gt;
&lt;H3 style="-webkit-text-stroke-width: 0px; background-color: #ffffff; box-sizing: border-box; color: #181818; display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.17em; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; line-height: 1.2; margin-block: 1em; margin-inline: 0px; margin: 0px 0px var(--lwc-spacingSmall,0.75rem); orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3 style="-webkit-text-stroke-width: 0px; background-color: #ffffff; box-sizing: border-box; color: #181818; display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.17em; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; line-height: 1.2; margin-block: 1em; margin-inline: 0px; margin: 0px 0px var(--lwc-spacingSmall,0.75rem); orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;FONT color="#339966"&gt;&lt;SPAN&gt;&lt;FONT style="box-sizing: border-box;"&gt;&lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI style="box-sizing: border-box;"&gt;Qlik Replicate&amp;nbsp;2023.11 and later&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;PostgreSQL&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Add the &lt;FONT color="#339966"&gt;&lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Internal Parameter&lt;/STRONG&gt; &lt;/FONT&gt;&lt;STRONG&gt;unboundedVarcharMaxSize&lt;/STRONG&gt; on the Postgres Aurora source endpoint and set it to &lt;STRONG&gt;8000&lt;/STRONG&gt;.&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;If you are using &lt;STRONG&gt;Logstream&lt;/STRONG&gt; setup, please add &lt;STRONG&gt;unboundedVarcharMaxSize&lt;/STRONG&gt; on the Postgres Aurora source endpoint in both the &lt;STRONG&gt;Logstream Parent task&lt;/STRONG&gt; and &lt;STRONG&gt;child task&lt;/STRONG&gt;.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To resolve the issue:&lt;/P&gt;
&lt;OL&gt;
&lt;LI style="box-sizing: border-box;"&gt;Go to the&amp;nbsp; &lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Endpoint&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;connection&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Switch to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Advanced&amp;nbsp;&lt;/STRONG&gt;tab&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Internal Parameters&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Add the &lt;STRONG&gt;Parameter&lt;/STRONG&gt;: &lt;FONT face="courier new,courier"&gt;unboundedVarcharMaxSize&lt;/FONT&gt; &lt;FONT face="courier new,courier" style="box-sizing: border-box;"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;If the parameter already exists,&amp;nbsp;&lt;EM&gt;modify&amp;nbsp;&lt;/EM&gt;the value as per step 5.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Add &lt;STRONG&gt;value&lt;/STRONG&gt;:&amp;nbsp;&lt;FONT face="courier new,courier" style="box-sizing: border-box;"&gt;8000&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="additionalConnectionProperties.png" style="width: 503px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172083iD50CF072512F5FF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="additionalConnectionProperties.png" alt="additionalConnectionProperties.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;For more information about Internal Parameters, see &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-How-to-set-Internal-Parameters-and-what-are-they/ta-p/2036183" target="_blank" rel="noopener"&gt;Qlik Replicate: How to set Internal Parameters and what are they for?&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;FONT face="courier new,courier" style="box-sizing: border-box;"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Cause&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;The &lt;STRONG style="box-sizing: border-box; font-weight: var(--lwc-fontWeightBold,700);"&gt;Internal Parameter&lt;/STRONG&gt; has unexpectedly changed between Qlik Replicate 2022.5 and 2023.11. This only affected Postgres Aurora.&lt;/P&gt;
&lt;P&gt;While &lt;STRONG&gt;unboundedVarcharMaxSize &lt;/STRONG&gt;had a default value of &lt;STRONG&gt;8000&amp;nbsp;&lt;/STRONG&gt;in 2022.5, it is now set to&lt;STRONG&gt; -1&lt;/STRONG&gt; for Postgres Aurora by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;RECOB-8644&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 07:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-PostgreSQL-source-task-fails-with-data/ta-p/2483164</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2024-09-25T07:29:33Z</dc:date>
    </item>
  </channel>
</rss>

