<?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: Loading jsonb datatype from postgres source to postgres target in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511921#M13971</link>
    <description>&lt;P&gt;Update, it was truncation issue and once we updated the LOB size to 100kb, it worked fine, thanks for your prompt support.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 16:48:46 GMT</pubDate>
    <dc:creator>vabclb</dc:creator>
    <dc:date>2025-03-27T16:48:46Z</dc:date>
    <item>
      <title>Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511740#M13958</link>
      <description>&lt;P&gt;We have Amazon Aurora postgres db with a column datatype jsonb, when we are trying to run a full load only task and let create Qlik create target table with datatype jsonb, the task is failing with the following error:&lt;BR /&gt;&lt;BR /&gt;[TARGET_LOAD ]E: Command failed to load data with exit error code 1, Command output: ERROR: invalid input syntax for type json.&lt;BR /&gt;&lt;BR /&gt;Is there anykind of manipulation that Qlik is doing while trying to read and load data ? Because source and target datatype are same, so if data is present in any format on source, it should be loaded on target?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 19:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511740#M13958</guid>
      <dc:creator>vabclb</dc:creator>
      <dc:date>2025-03-26T19:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511762#M13962</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214787"&gt;@vabclb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I'd reproduced the behavior in my labs. please allow me sometime, I will get back to you with my findings shortly.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 03:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511762#M13962</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-03-27T03:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511788#M13964</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214787"&gt;@vabclb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="" data-start="95" data-end="288"&gt;The root cause of the error message &lt;STRONG data-start="131" data-end="171"&gt;"invalid input syntax for type json"&lt;/STRONG&gt; is that the JSONB column was truncated, resulting in incomplete and invalid JSON documents. This led to the error.&lt;/P&gt;
&lt;P class="" data-start="290" data-end="334"&gt;To resolve this issue, follow these steps:&lt;/P&gt;
&lt;OL data-start="336" data-end="1102"&gt;
&lt;LI class="" data-start="510" data-end="703"&gt;
&lt;P class="" data-start="513" data-end="543"&gt;&lt;STRONG data-start="513" data-end="541"&gt;Adjust the task settings&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-start="547" data-end="703"&gt;
&lt;LI class="" data-start="547" data-end="617"&gt;
&lt;P class="" data-start="549" data-end="617"&gt;Set &lt;STRONG data-start="553" data-end="576"&gt;"Limit LOB size to"&lt;/STRONG&gt; to an appropriate value, e.g., &lt;CODE data-start="608" data-end="614"&gt;1024&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="" data-start="621" data-end="703"&gt;
&lt;P class="" data-start="623" data-end="703"&gt;Ensure this value accommodates the maximum expected size of your JSONB column.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="" data-start="705" data-end="1102"&gt;
&lt;P class="" data-start="708" data-end="734"&gt;&lt;STRONG data-start="708" data-end="732"&gt;Verify the task logs&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-start="738" data-end="907"&gt;
&lt;LI class="" data-start="738" data-end="822"&gt;
&lt;P class="" data-start="740" data-end="822"&gt;Check the task log file to confirm that the JSONB column is not being truncated.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="" data-start="826" data-end="907"&gt;
&lt;P class="" data-start="828" data-end="907"&gt;If truncation occurs, you may see a warning message similar to the following:&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="sticky top-9"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; 2025-03-27T11:43:48:185756 [SOURCE_UNLOAD ]W: Truncation of a column occurred while fetching a value from array (for more details please use verbose logs) (ar_odbc_stmt.c:3485)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/OL&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>Thu, 27 Mar 2025 07:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511788#M13964</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-03-27T07:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511802#M13965</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214787"&gt;@vabclb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;For additional information, &lt;A href="https://help.qlik.com/en-US/replicate/November2024/Content/Replicate/Main/Aurora%20PostgreSQL/aws_postgresql_data_types_source.htm#ar_postgresds_802412600_1377123:~:text=NCLOB-,JSONB,-Information%20note" target="_blank" rel="noopener"&gt;JSONB&lt;/A&gt;&amp;nbsp;data is treated as a wide string, which is 2 bytes long. Therefore, you need to double the limited LOB size.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 07:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511802#M13965</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2025-03-27T07:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511879#M13968</link>
      <description>&lt;P&gt;Thanks a lot for inputs, we'll try to add verbose logging and see if its truncation and will adjust the LOB size that qlik task need to handle. Will respond when we have found a working solution.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 13:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511879#M13968</guid>
      <dc:creator>vabclb</dc:creator>
      <dc:date>2025-03-27T13:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511880#M13969</link>
      <description>&lt;P&gt;Thank you so much for your support!&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214787"&gt;@vabclb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 13:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511880#M13969</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-03-27T13:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511921#M13971</link>
      <description>&lt;P&gt;Update, it was truncation issue and once we updated the LOB size to 100kb, it worked fine, thanks for your prompt support.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 16:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511921#M13971</guid>
      <dc:creator>vabclb</dc:creator>
      <dc:date>2025-03-27T16:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511939#M13972</link>
      <description>&lt;P&gt;Thanks for the update. We really appreciate your support!&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214787"&gt;@vabclb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 00:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2511939#M13972</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-03-28T00:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2512053#M13984</link>
      <description>&lt;P&gt;Follow up question, in the task settings &amp;gt; table transformations, the datatype for the source jsonb field is coming as NCLOB, I updated the subtype to JSON, is that required or Regular will work too? Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 15:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2512053#M13984</guid>
      <dc:creator>vabclb</dc:creator>
      <dc:date>2025-03-28T15:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Loading jsonb datatype from postgres source to postgres target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2512267#M14006</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/214787"&gt;@vabclb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;subtype&lt;/STRONG&gt; is not&amp;nbsp;applicable to PostgreSQL endpoints. You may ignore it here. The &lt;STRONG&gt;Regular&lt;/STRONG&gt; works always.&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 04:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Loading-jsonb-datatype-from-postgres-source-to-postgres-target/m-p/2512267#M14006</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-03-31T04:08:28Z</dc:date>
    </item>
  </channel>
</rss>

