<?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: Snowflake - empty strings converted to NULL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217428#M13030</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;Nikhil,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upgrading to 7.1 is certainly worth considering.&lt;/P&gt;&lt;P&gt;Adding a space or any other character to make the string non-empty does help. But for now I simply changed target column to allow nulls and processing the data in later stages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Rimvis&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 15:18:46 GMT</pubDate>
    <dc:creator>Rimvis</dc:creator>
    <dc:date>2019-03-05T15:18:46Z</dc:date>
    <item>
      <title>Snowflake - empty strings converted to NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217424#M13026</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Talend to load data into Snowflake. Data is being passed using tSnowflakeOutput component.&lt;/P&gt;&lt;P&gt;If there are empty strings in the source data, I'm getting an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;java.io.IOException: net.snowflake.client.loader.Loader$ConnectionError: 

State: INGEST_DATA, INSERT INTO ... SELECT * FROM ..., NULL result in a non-nullable column

at org.talend.components.snowflake.runtime.SnowflakeWriter.close&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;No nulls are allowed on source, destination, or anywhere on data pipeline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like somehow empty strings are being converted to NULLS automatically.&lt;/P&gt;&lt;P&gt;Is there any way to prevent this?&lt;/P&gt;&lt;P&gt;I can't see any setting that would control this behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rimvis&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 11:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217424#M13026</guid>
      <dc:creator>Rimvis</dc:creator>
      <dc:date>2019-03-05T11:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake - empty strings converted to NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217425#M13027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Could you please verify whether you have unchecked the below check box in tDBOutput(Snowflake)?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Ts.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138600iEC22B5A95F2446D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Ts.png" alt="0683p000009M2Ts.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This should fix your issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 11:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217425#M13027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-05T11:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake - empty strings converted to NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217426#M13028</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Nikhil&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I can't see this option anywhere. I am using Talend Open Studio 6.5.1 if that helps.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSnowflakeOutput.png" style="width: 581px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2cV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142424i3359CC61004B6D9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2cV.png" alt="0683p000009M2cV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 12:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217426#M13028</guid>
      <dc:creator>Rimvis</dc:creator>
      <dc:date>2019-03-05T12:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake - empty strings converted to NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217427#M13029</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; The screen shot I had shared was for version 7.1 of Talend. It is having significant improvements for Snowflake both from additional functionalities and performance perspective.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If you are not in a position to upgrade to 7.1, my suggestion will be to try to verify whether you can add the data with single space and verify it is overcoming the null issue. Of course it is not a great option like the first one but still you can manage the overall flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 12:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217427#M13029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-05T12:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Snowflake - empty strings converted to NULL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217428#M13030</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;Nikhil,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upgrading to 7.1 is certainly worth considering.&lt;/P&gt;&lt;P&gt;Adding a space or any other character to make the string non-empty does help. But for now I simply changed target column to allow nulls and processing the data in later stages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Rimvis&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 15:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Snowflake-empty-strings-converted-to-NULL/m-p/2217428#M13030</guid>
      <dc:creator>Rimvis</dc:creator>
      <dc:date>2019-03-05T15:18:46Z</dc:date>
    </item>
  </channel>
</rss>

