<?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 : Postgres as a source error replicating column from a view in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Postgres-as-a-source-error-replicating-column/ta-p/2052742</link>
    <description>&lt;P&gt;The following warning is logged while replicating a view from a Postgres source endpoint. This causes the NCLOB/String columns to be NULL on the target.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_UNLOAD ]V: Value for column 'XXXXX' was truncated. bind type: -8, data len: 10 (10, after truncation: -2), bind len: 0, statement: XXXXXX&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&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;OL&gt;
&lt;LI&gt;Set the Limited LOB size to exceed the max data volume on the source (default 8 KB)&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Limit LOB size in Target Metadata.png" style="width: 798px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103531i67722BB81032F69C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Limit LOB size in Target Metadata.png" alt="Limit LOB size in Target Metadata.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Note: 64KB is an example. The actual value depends on the column size on the source.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Change the column data type:
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Table Settings&lt;/LI&gt;
&lt;LI&gt;Transform&lt;/LI&gt;
&lt;LI&gt;Change from NCLOB to WSTRING (64000) and set the data length to the same as the max LOB column length above.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Add the following internal parameter on your source Postgres:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;unboundedVarcharMaxSizeODBC&lt;/FONT&gt; &lt;BR /&gt;Value: Set it to max data length provided on the table column.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Internal Parameter unboundedVarcharMaxSizeODBC.png" style="width: 372px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103532i71BFBD784198DE40/image-size/large?v=v2&amp;amp;px=999" role="button" title="Internal Parameter unboundedVarcharMaxSizeODBC.png" alt="Internal Parameter unboundedVarcharMaxSizeODBC.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For more information on how to set 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;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Run the task.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 07:43:37 GMT</pubDate>
    <dc:creator>shashi_holla</dc:creator>
    <dc:date>2023-03-27T07:43:37Z</dc:date>
    <item>
      <title>Qlik Replicate : Postgres as a source error replicating column from a view</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Postgres-as-a-source-error-replicating-column/ta-p/2052742</link>
      <description>&lt;P&gt;The following warning is logged while replicating a view from a Postgres source endpoint. This causes the NCLOB/String columns to be NULL on the target.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_UNLOAD ]V: Value for column 'XXXXX' was truncated. bind type: -8, data len: 10 (10, after truncation: -2), bind len: 0, statement: XXXXXX&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&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;OL&gt;
&lt;LI&gt;Set the Limited LOB size to exceed the max data volume on the source (default 8 KB)&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Limit LOB size in Target Metadata.png" style="width: 798px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103531i67722BB81032F69C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Limit LOB size in Target Metadata.png" alt="Limit LOB size in Target Metadata.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Note: 64KB is an example. The actual value depends on the column size on the source.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Change the column data type:
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Table Settings&lt;/LI&gt;
&lt;LI&gt;Transform&lt;/LI&gt;
&lt;LI&gt;Change from NCLOB to WSTRING (64000) and set the data length to the same as the max LOB column length above.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Add the following internal parameter on your source Postgres:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;unboundedVarcharMaxSizeODBC&lt;/FONT&gt; &lt;BR /&gt;Value: Set it to max data length provided on the table column.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Internal Parameter unboundedVarcharMaxSizeODBC.png" style="width: 372px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/103532i71BFBD784198DE40/image-size/large?v=v2&amp;amp;px=999" role="button" title="Internal Parameter unboundedVarcharMaxSizeODBC.png" alt="Internal Parameter unboundedVarcharMaxSizeODBC.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For more information on how to set 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;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Run the task.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 07:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Postgres-as-a-source-error-replicating-column/ta-p/2052742</guid>
      <dc:creator>shashi_holla</dc:creator>
      <dc:date>2023-03-27T07:43:37Z</dc:date>
    </item>
  </channel>
</rss>

