<?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: Junk Characters coming to Snowflake in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519626#M14460</link>
    <description>&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the junk characters hidden in the oracle source via that query:&lt;/P&gt;&lt;P&gt;The string iteslf is only 10 characters, but I see the trailing 0's for this row and a select few aswell.&lt;/P&gt;&lt;P&gt;Is there any setting in qlik to remove these?&lt;/P&gt;&lt;P&gt;Typ=1 Len=30: 71,82,79,85,80,32,80,46,67,46,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2025 17:57:36 GMT</pubDate>
    <dc:creator>pguddera21</dc:creator>
    <dc:date>2025-05-30T17:57:36Z</dc:date>
    <item>
      <title>Junk Characters coming to Snowflake</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519263#M14431</link>
      <description>&lt;P&gt;Replicating from Oracle to Snowflake via QLIK Replicate May 2024 version.&lt;/P&gt;&lt;P&gt;We are starting to see trailing junk characters (red NULs) being brought in to snowflake which does NOT exist in the Oracle Source.&lt;BR /&gt;Target:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pguddera21_0-1748378595049.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180849i88DD06629C3562D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pguddera21_0-1748378595049.png" alt="pguddera21_0-1748378595049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I checked the source and made sure there was NOT any hidden junk characters or spaces after.&lt;/P&gt;&lt;P&gt;I have the following settings enabled in our task to make sure something like this does not happen:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pguddera21_1-1748378663987.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/180850i60194103C58A252B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pguddera21_1-1748378663987.png" alt="pguddera21_1-1748378663987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if there is a known issue/fix for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 20:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519263#M14431</guid>
      <dc:creator>pguddera21</dc:creator>
      <dc:date>2025-05-27T20:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Junk Characters coming to Snowflake</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519264#M14432</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247064"&gt;@pguddera21&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see no documented issue or fix for this. To better assist you, please open a support case and attach a diagnostics package for the task.&amp;nbsp;If a log stream configuration, please attach both the staging and replication task diagnostics packages.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If needed, instructions for generating a diagnostics package are here: &lt;A href="https://community.qlik.com/t5/Knowledge/How-to-collect-Diagnostics-Package-from-Qlik-Replicate/ta-p/1815056" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/How-to-collect-Diagnostics-Package-from-Qlik-Replicate/ta-p/1815056&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 20:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519264#M14432</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2025-05-27T20:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Junk Characters coming to Snowflake</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519270#M14434</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247064"&gt;@pguddera21&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In addition to &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121014"&gt;@Dana_Baldwin&lt;/a&gt;&amp;nbsp;'s comments, the characters in question are invisible, but we can detect them by querying their hexadecimal values. Could you please run the following SQL in Oracle:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;select &lt;EM&gt;colName&lt;/EM&gt;, dump(&lt;EM&gt;colName&lt;/EM&gt;) from &amp;lt;&lt;EM&gt;tableName&lt;/EM&gt;&amp;gt; where &lt;EM&gt;PK&lt;/EM&gt;=nnn;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;This query will help us determine if there are any additional hidden characters in the column.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 01:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519270#M14434</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-05-28T01:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Junk Characters coming to Snowflake</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519626#M14460</link>
      <description>&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the junk characters hidden in the oracle source via that query:&lt;/P&gt;&lt;P&gt;The string iteslf is only 10 characters, but I see the trailing 0's for this row and a select few aswell.&lt;/P&gt;&lt;P&gt;Is there any setting in qlik to remove these?&lt;/P&gt;&lt;P&gt;Typ=1 Len=30: 71,82,79,85,80,32,80,46,67,46,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 17:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519626#M14460</guid>
      <dc:creator>pguddera21</dc:creator>
      <dc:date>2025-05-30T17:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Junk Characters coming to Snowflake</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519631#M14461</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247064"&gt;@pguddera21&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P data-start="70" data-end="322"&gt;Based on the values you provided, I assume that your Oracle table column is defined as &lt;STRONG&gt;CHAR(30)&lt;/STRONG&gt;,&amp;nbsp;and you're storing only 10 characters in it. The remaining 20 characters appear to be padded with &lt;STRONG data-start="267" data-end="286"&gt;null characters&lt;/STRONG&gt; (&lt;STRONG&gt;ASCII code 0, hex 0x00, \x00&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P data-start="324" data-end="628"&gt;By default, Oracle pads unused space in &lt;STRONG&gt;CHAR&lt;/STRONG&gt; fields with &lt;STRONG data-start="383" data-end="403"&gt;space characters&lt;/STRONG&gt; &lt;STRONG&gt;(ASCII 32)&lt;/STRONG&gt;. However, in your specific case, the column appears to be padded with &lt;STRONG data-start="485" data-end="514"&gt;null characters (ASCII 0)&lt;/STRONG&gt; instead. Both ASCII 0 and ASCII 32 are valid in Oracle and typically do not interfere with replication processes.&lt;/P&gt;
&lt;P data-start="630" data-end="1040"&gt;In Qlik Replicate, when the target is Snowflake, data is transferred via intermediate &lt;STRONG data-start="716" data-end="729"&gt;CSV files&lt;/STRONG&gt;. It's important to note that characters such as ASCII 0 or ASCII 32 in Oracle may &lt;STRONG data-start="812" data-end="832"&gt;not be preserved&lt;/STRONG&gt; in the CSV format. Therefore, the &lt;STRONG&gt;NUL&lt;/STRONG&gt; value you see in Snowflake might not have been transferred from Oracle by Replicate, but rather could be a &lt;STRONG data-start="982" data-end="1039"&gt;display behavior or placeholder on the Snowflake side&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P data-start="1042" data-end="1074"&gt;To investigate further, you can:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1110" data-end="1153"&gt;&lt;STRONG data-start="1110" data-end="1153"&gt;1- Inspect the CSV Files Used by Replicate&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-start="1158" data-end="1232"&gt;&amp;nbsp; &amp;nbsp; Enable the following internal parameters on the Snowflake target endpoint:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; keepCSVFiles&amp;nbsp; &amp;nbsp;= true&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; keepErrorFiles = true&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;Then re-run the task. Review the generated CSV files (under task sub-folder) to determine whether ASCII 0 characters are present in the data rows.&lt;/P&gt;
&lt;P data-start="1429" data-end="1466"&gt;&lt;STRONG data-start="1429" data-end="1466"&gt;2- Check How You're Viewing the Data&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-start="1471" data-end="1761"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Are you using a specific SQL client or application to view the Snowflake data?&lt;BR data-start="1549" data-end="1552" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Some tools may render unprintable characters like ASCII 0 as &lt;STRONG&gt;NUL&lt;/STRONG&gt; or another placeholder. This could be a visual representation, not an actual stored value.&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>Sat, 31 May 2025 03:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Junk-Characters-coming-to-Snowflake/m-p/2519631#M14461</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-05-31T03:37:22Z</dc:date>
    </item>
  </channel>
</rss>

