<?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: Issue with Talend tDBOutput Creating NOT NULL Columns in Snowflake in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tDBOutput-Creating-NOT-NULL-Columns-in/m-p/2543338#M149417</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Pre-create target tables manually in Snowflake with all columns explicitly defined as NULLABLE before loading data.&lt;/P&gt;&lt;P&gt;In your Talend job, don’t let tDBOutput auto-create tables — instead point it to the pre-defined schema.&lt;/P&gt;&lt;P&gt;If you must create tables dynamically, use custom SQL (e.g., ALTER TABLE) after creation to set columns to NULLABLE before loading.&lt;/P&gt;&lt;P&gt;Consider handling column metadata in a tMap or routine to mark fields as NULLABLE before output.&lt;/P&gt;&lt;P&gt;Talend help on defining nullable values / outputting nulls in mappings&lt;BR /&gt;&lt;A href="https://help.qlik.com/talend/en-US/components/8.0/tmap/outputting-blank-values-as-null-or-fixed-values" target="_blank"&gt;https://help.qlik.com/talend/en-US/components/8.0/tmap/outputting-blank-values-as-null-or-fixed-values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourav&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2026 09:06:45 GMT</pubDate>
    <dc:creator>gouravdubey5</dc:creator>
    <dc:date>2026-02-19T09:06:45Z</dc:date>
    <item>
      <title>Issue with Talend tDBOutput Creating NOT NULL Columns in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tDBOutput-Creating-NOT-NULL-Columns-in/m-p/2509615#M141848</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Hi Community,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I'm facing an issue with my Talend job while trying to bulk load nearly 100 tables from MySQL to Snowflake. The problem is that when tDBOutput creates tables in Snowflake, some columns are automatically set as NOT NULL, even though I haven't explicitly defined them as such.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;This is causing errors during data loading when NULL values are present in those columns.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;Snowflake table query:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skeletonred_0-1741823331642.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178486i19EFCD1D897B9D6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skeletonred_0-1741823331642.png" alt="skeletonred_0-1741823331642.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;Job Design &amp;amp; Settings:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;tDBInput (MySQL Source):&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Using Dynamic Schema Type to handle all 100 tables.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;No manual column definitions to avoid complexity.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skeletonred_2-1741823551096.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178488i010277CE08C67966/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skeletonred_2-1741823551096.png" alt="skeletonred_2-1741823551096.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;tMap (Transformation Layer):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;No transformations or modifications applied.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skeletonred_3-1741823632829.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178489iD3BA1F11A0940729/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skeletonred_3-1741823632829.png" alt="skeletonred_3-1741823632829.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;tDBOutput - snowflake:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skeletonred_4-1741823710978.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178490iDD495E401C77ED25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skeletonred_4-1741823710978.png" alt="skeletonred_4-1741823710978.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;Advanced settings in&amp;nbsp;tDBOutput :&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skeletonred_5-1741823743850.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178491i9C2C6549304E6B40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skeletonred_5-1741823743850.png" alt="skeletonred_5-1741823743850.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt;:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Caused by: net.snowflake.client.loader.Loader$ConnectionError: State: COPY_INTO_TABLE, COPY INTO "TEST_20250313_105751_794_1" FROM '@~/TEST/INSERT/20250313_105751_794_2BVBLI_1' on_error='ABORT_STATEMENT' file_format=( field_optionally_enclosed_by='"' empty_field_as_null=true), NULL result in a non-nullable column&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;STRONG&gt;Challenges:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Since I'm dealing with &lt;STRONG&gt;100+ tables&lt;/STRONG&gt;, manually defining column constraints is &lt;STRONG&gt;not feasible&lt;/STRONG&gt;. I need a way to ensure that all columns are created as NULLABLE by default in Snowflake.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Questions:&lt;/FONT&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;How can I prevent tDBOutput from automatically setting columns as NOT NULL when creating tables in Snowflake?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Is there a way to enforce NULLABLE constraints dynamically for all tables without manually altering each schema?&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Would appreciate any guidance or best practices for handling this issue efficiently.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Thanks in advance!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Best regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Nikhil&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 00:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tDBOutput-Creating-NOT-NULL-Columns-in/m-p/2509615#M141848</guid>
      <dc:creator>skeletonred</dc:creator>
      <dc:date>2025-03-13T00:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Talend tDBOutput Creating NOT NULL Columns in Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tDBOutput-Creating-NOT-NULL-Columns-in/m-p/2543338#M149417</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Pre-create target tables manually in Snowflake with all columns explicitly defined as NULLABLE before loading data.&lt;/P&gt;&lt;P&gt;In your Talend job, don’t let tDBOutput auto-create tables — instead point it to the pre-defined schema.&lt;/P&gt;&lt;P&gt;If you must create tables dynamically, use custom SQL (e.g., ALTER TABLE) after creation to set columns to NULLABLE before loading.&lt;/P&gt;&lt;P&gt;Consider handling column metadata in a tMap or routine to mark fields as NULLABLE before output.&lt;/P&gt;&lt;P&gt;Talend help on defining nullable values / outputting nulls in mappings&lt;BR /&gt;&lt;A href="https://help.qlik.com/talend/en-US/components/8.0/tmap/outputting-blank-values-as-null-or-fixed-values" target="_blank"&gt;https://help.qlik.com/talend/en-US/components/8.0/tmap/outputting-blank-values-as-null-or-fixed-values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourav&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 09:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-with-Talend-tDBOutput-Creating-NOT-NULL-Columns-in/m-p/2543338#M149417</guid>
      <dc:creator>gouravdubey5</dc:creator>
      <dc:date>2026-02-19T09:06:45Z</dc:date>
    </item>
  </channel>
</rss>

