<?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 Aurora Postgres: null values on varchar data type in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-Aurora-Postgres-null-values-on-varchar-data/ta-p/2121666</link>
    <description>&lt;P&gt;Due to an issue with MySQL ODBC Driver 8.0.027 to 8.0.033, empty&amp;nbsp;TEXT&amp;nbsp;columns may not be replicated correctly during Full Load.&lt;/P&gt;
&lt;P&gt;Running the full load on a table, it appears the data alignment is off because the target .csv file has null values when the source field is defined as not nullable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="toc-hId-150928384"&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;A id="hoverCardLink" class="lia-link-navigation lia-product-hover-card-link lia-product-mention lia-tooltip-trigger" href="https://community.qlik.com/t5/c-cyjdu72974/Qlik+Replicate/pd-p/qlikReplicate" target="_blank" rel="noopener" aria-describedby="hoverCardLink_0-tooltip-element" aria-controls="hoverCardLink_0-tooltip-element"&gt;Qlik Replicate&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;Aurora Postgres&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="5" color="#339966"&gt;&lt;STRONG&gt;Identifying the root cause:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Verify the source table DDL:&lt;/P&gt;
&lt;P&gt;Examining the source table DDL will show a datatype with no precision (varchar NOT NULL,).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE width="668px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="2" width="364.531px" height="25px"&gt;CREATE TABLE tran.category&amp;nbsp; (&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;integer NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;varchar NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;description&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;varchar NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;category&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;varchar NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;is_active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;boolean NOT NULL DEFAULT true,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;create_employee&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;integer NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;create_datetime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;timestamp NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;PRIMARY KEY(id)&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;)&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 id="toc-hId--1644781261"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This is a documented&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;limitation&lt;/STRONG&gt;&lt;/FONT&gt;. See&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/Aurora%20PostgreSQL/aws_postgresql_data_types_source.htm#Supported%20source%20data%20types:~:text=WSTRING%20(n)-,VARCHAR(n),-Information%20note" target="_blank" rel="noopener"&gt;VARCHAR(n)&lt;/A&gt;.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;VARCHAR without a length (n) is not recognized as a valid data type by target endpoints. Consequently, if a source column data type is set to VARCHAR without an explicit length, Replicate will set a default length of 8000 bytes.&lt;FONT size="4"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;H4 id="toc-hId--1644781261"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;You can change the default by deploying an internal parameter, &lt;FONT face="courier new,courier"&gt;unboundedVarcharMaxSize&lt;/FONT&gt;, and setting a custom value.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to the&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Endpoint&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;connection&lt;/LI&gt;
&lt;LI&gt;Switch to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Advanced&amp;nbsp;&lt;/STRONG&gt;tab&lt;/LI&gt;
&lt;LI&gt;Click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Internal Parameters&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Add&amp;nbsp;&lt;FONT face="courier new,courier"&gt;unboundedVarcharMaxSize&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="unboundedvarcharmaxsize internal parameter.png" style="width: 767px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117165i0316F51D84245130/image-size/large?v=v2&amp;amp;px=999" role="button" title="unboundedvarcharmaxsize internal parameter.png" alt="unboundedvarcharmaxsize internal parameter.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&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;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 11:27:35 GMT</pubDate>
    <dc:creator>Michael_Litz</dc:creator>
    <dc:date>2023-09-27T11:27:35Z</dc:date>
    <item>
      <title>Qlik Replicate and Aurora Postgres: null values on varchar data type</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-Aurora-Postgres-null-values-on-varchar-data/ta-p/2121666</link>
      <description>&lt;P&gt;Due to an issue with MySQL ODBC Driver 8.0.027 to 8.0.033, empty&amp;nbsp;TEXT&amp;nbsp;columns may not be replicated correctly during Full Load.&lt;/P&gt;
&lt;P&gt;Running the full load on a table, it appears the data alignment is off because the target .csv file has null values when the source field is defined as not nullable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="toc-hId-150928384"&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;A id="hoverCardLink" class="lia-link-navigation lia-product-hover-card-link lia-product-mention lia-tooltip-trigger" href="https://community.qlik.com/t5/c-cyjdu72974/Qlik+Replicate/pd-p/qlikReplicate" target="_blank" rel="noopener" aria-describedby="hoverCardLink_0-tooltip-element" aria-controls="hoverCardLink_0-tooltip-element"&gt;Qlik Replicate&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;Aurora Postgres&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT size="5" color="#339966"&gt;&lt;STRONG&gt;Identifying the root cause:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Verify the source table DDL:&lt;/P&gt;
&lt;P&gt;Examining the source table DDL will show a datatype with no precision (varchar NOT NULL,).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE width="668px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="2" width="364.531px" height="25px"&gt;CREATE TABLE tran.category&amp;nbsp; (&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;integer NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;varchar NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;description&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;varchar NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;category&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;varchar NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;is_active&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;boolean NOT NULL DEFAULT true,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;create_employee&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;integer NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;create_datetime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;timestamp NOT NULL,&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;PRIMARY KEY(id)&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="79.8906px" height="25px"&gt;)&lt;/TD&gt;
&lt;TD width="284.641px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="302.469px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 id="toc-hId--1644781261"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;This is a documented&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;limitation&lt;/STRONG&gt;&lt;/FONT&gt;. See&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/Aurora%20PostgreSQL/aws_postgresql_data_types_source.htm#Supported%20source%20data%20types:~:text=WSTRING%20(n)-,VARCHAR(n),-Information%20note" target="_blank" rel="noopener"&gt;VARCHAR(n)&lt;/A&gt;.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;VARCHAR without a length (n) is not recognized as a valid data type by target endpoints. Consequently, if a source column data type is set to VARCHAR without an explicit length, Replicate will set a default length of 8000 bytes.&lt;FONT size="4"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;H4 id="toc-hId--1644781261"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Workaround:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;You can change the default by deploying an internal parameter, &lt;FONT face="courier new,courier"&gt;unboundedVarcharMaxSize&lt;/FONT&gt;, and setting a custom value.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to the&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Endpoint&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;connection&lt;/LI&gt;
&lt;LI&gt;Switch to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Advanced&amp;nbsp;&lt;/STRONG&gt;tab&lt;/LI&gt;
&lt;LI&gt;Click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Internal Parameters&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Add&amp;nbsp;&lt;FONT face="courier new,courier"&gt;unboundedVarcharMaxSize&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="unboundedvarcharmaxsize internal parameter.png" style="width: 767px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117165i0316F51D84245130/image-size/large?v=v2&amp;amp;px=999" role="button" title="unboundedvarcharmaxsize internal parameter.png" alt="unboundedvarcharmaxsize internal parameter.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&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;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 11:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-Aurora-Postgres-null-values-on-varchar-data/ta-p/2121666</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2023-09-27T11:27:35Z</dc:date>
    </item>
  </channel>
</rss>

