<?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 Every column is NULL when inserting to Snowflake in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343959#M111663</link>
    <description>&lt;P&gt;I have a job that passes records to a Joblet.  The Joblet makes a connection to Snowflake and then tDBOutput uses that connection to insert to a table.  However, every column is inserted with a NULL value instead of the actual value.  I've seen other posts with the same issue, but one refers to the "Convert empty strings to null" option.  That is NOT checked.  Another had a problem with a mismatch of column names - that is not my issue.  Here is my flow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrf63AAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141598i2021E934A0F5B0D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrf63AAA.png" alt="0695b00000hrf63AAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II am trying to do a simple insert to a target table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrf6mAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150408i5F55D2ED669E5E73/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrf6mAAA.png" alt="0695b00000hrf6mAAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Advanced settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrf7GAAQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137988iEECC6F3926B8523E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrf7GAAQ.png" alt="0695b00000hrf7GAAQ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tLogRow_2 shows 4 records with data values.  But the 4 records that get inserted to the target table in Snowflake are all null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my schema in the tDBOutput component:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrf9vAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141421i23F8FA2E3EED6463/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrf9vAAA.png" alt="0695b00000hrf9vAAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the schema in Snowflake.  The only difference is the ID which is auto-generated:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrfAjAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145961i1BF1E9737F608DD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrfAjAAI.png" alt="0695b00000hrfAjAAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on why NULL values go in instead of the real values?  Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:49:25 GMT</pubDate>
    <dc:creator>Papademuchos</dc:creator>
    <dc:date>2024-11-15T21:49:25Z</dc:date>
    <item>
      <title>Every column is NULL when inserting to Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343959#M111663</link>
      <description>&lt;P&gt;I have a job that passes records to a Joblet.  The Joblet makes a connection to Snowflake and then tDBOutput uses that connection to insert to a table.  However, every column is inserted with a NULL value instead of the actual value.  I've seen other posts with the same issue, but one refers to the "Convert empty strings to null" option.  That is NOT checked.  Another had a problem with a mismatch of column names - that is not my issue.  Here is my flow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrf63AAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141598i2021E934A0F5B0D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrf63AAA.png" alt="0695b00000hrf63AAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II am trying to do a simple insert to a target table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrf6mAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150408i5F55D2ED669E5E73/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrf6mAAA.png" alt="0695b00000hrf6mAAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Advanced settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrf7GAAQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137988iEECC6F3926B8523E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrf7GAAQ.png" alt="0695b00000hrf7GAAQ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tLogRow_2 shows 4 records with data values.  But the 4 records that get inserted to the target table in Snowflake are all null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my schema in the tDBOutput component:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrf9vAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141421i23F8FA2E3EED6463/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrf9vAAA.png" alt="0695b00000hrf9vAAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the schema in Snowflake.  The only difference is the ID which is auto-generated:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrfAjAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145961i1BF1E9737F608DD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrfAjAAI.png" alt="0695b00000hrfAjAAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on why NULL values go in instead of the real values?  Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343959#M111663</guid>
      <dc:creator>Papademuchos</dc:creator>
      <dc:date>2024-11-15T21:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Every column is NULL when inserting to Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343960#M111664</link>
      <description>&lt;P&gt;I guess tLogRow_1 does not show any records?&lt;/P&gt;&lt;P&gt;Thats weird. The only way to find out what went wrong would be inspecting the generated code and see if I can recognise any hidden error.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 19:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343960#M111664</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-05-10T19:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Every column is NULL when inserting to Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343961#M111665</link>
      <description>&lt;P&gt;Could you please check the die-on-error option in the tDBOutput (remove the reject flow before) and test again?&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 19:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343961#M111665</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-05-10T19:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Every column is NULL when inserting to Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343962#M111666</link>
      <description>&lt;P&gt;Correct - tLogRow_1 does not show any records.&lt;/P&gt;&lt;P&gt;I removed tLogRow_1 so there is nothing in the reject flow, then I checked the die-on-error option and re-ran it. Nothing - no errors reported. The job reports finishing successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is one of the lines where it appears to be building the output values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;String getSchemaValue() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;StringBuilder s = new StringBuilder();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a("{\"type\":\"record\",", s);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a("\"name\":\"tDBOutput_1\",\"fields\":[{", s);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a("\"name\":\"DEPLOYMENT_ID\",\"type\":[\"int\",\"null\"],\"di.table.comment\":\"\",\"AVRO_TECHNICAL_KEY\":\"DEPLOYMENT_ID\",\"talend.field.dbColumnName\":\"DEPLOYMENT_ID\",\"di.column.talendType\":\"id_Integer\",\"di.column.isNullable\":\"true\",\"talend.field.pattern\":\"\",\"talend.field.length\":\"38\",\"di.column.relationshipType\":\"\",\"di.table.label\":\"DEPLOYMENT_ID\",\"talend.field.precision\":\"0\",\"di.column.relatedEntity\":\"\"},{",&lt;/P&gt;&lt;P&gt;s);&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 20:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343962#M111666</guid>
      <dc:creator>Papademuchos</dc:creator>
      <dc:date>2023-05-10T20:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Every column is NULL when inserting to Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343963#M111667</link>
      <description>&lt;P&gt;I figured out my problem.  I don't understand why, but it works now.&lt;/P&gt;&lt;P&gt;I had a test job for writing data to Snowflake.  I circled back around to that job and tried it out again, and it works!  I set it up for the same table and used a tFixedFlowInput component to pass in data.  1 record inserted.&lt;/P&gt;&lt;P&gt;Then I copied that component and pasted it into my job referenced above.  I redirected the flow to the new component and tried it out - it worked!  So then I compared the two.  The ONLY difference is the component that doesn't work as all of the columns in uppercase.  The component that does work has them all in lowercase.  I had thought about this before, but the Advanced Option "Allow Snowflake to convert columns to uppercase" was checked.  I thought this was needed because when you look at the structure in Snowflake they are displayed in uppercase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one did not work&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrpTgAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153252i9BDA933310B6B531/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrpTgAAI.png" alt="0695b00000hrpTgAAI.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one worked&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrpMqAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129213i691136155E55A828/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrpMqAAI.png" alt="0695b00000hrpMqAAI.png" /&gt;&lt;/span&gt;I know both java and snowflake are case sensitive, but I would have thought with that option it wouldn't have mattered.  Especially since when I used the component to retrieve my table it auto-populated the columns in uppercase.  Yet that doesn't seem to work...???&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 21:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343963#M111667</guid>
      <dc:creator>Papademuchos</dc:creator>
      <dc:date>2023-05-11T21:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Every column is NULL when inserting to Snowflake</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343964#M111668</link>
      <description>&lt;P&gt;A little more info - the input column definition has the match the output column definition in case... I had lowercase on the input side and upper case on the output side.&amp;nbsp;That didn't match so nulls were passed through.&amp;nbsp;As long as they match on both sides then it's good&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hrpe0AAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137483i440E7C7F821C7FE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hrpe0AAA.png" alt="0695b00000hrpe0AAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 21:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Every-column-is-NULL-when-inserting-to-Snowflake/m-p/2343964#M111668</guid>
      <dc:creator>Papademuchos</dc:creator>
      <dc:date>2023-05-11T21:43:05Z</dc:date>
    </item>
  </channel>
</rss>

