<?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 tDB_Input snowflake cannot retrieve timestamp column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tDB-Input-snowflake-cannot-retrieve-timestamp-column/m-p/2510470#M141869</link>
    <description>&lt;P&gt;I have a snowflake tDB_input block with this query:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;select CREATION_DATE from MyTable;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when I try to do a run it always fails with this error:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;net.snowflake.client.jdbc.SnowflakeSQLException: Cannot convert value in the driver from type:TIMESTAMP_NTZ to type:int.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the thing is nowhere do I try to convert this value. I can pull other columns just fine but any timestamp column always fails with that error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this is the timestamp format:&amp;nbsp;2024-09-12 10:04:04.163&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and this is how I setup the schema:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hamzaou_1-1742295584855.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178724i3FF6E30B6E6D17D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hamzaou_1-1742295584855.png" alt="hamzaou_1-1742295584855.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2025 11:01:00 GMT</pubDate>
    <dc:creator>hamzaou</dc:creator>
    <dc:date>2025-03-18T11:01:00Z</dc:date>
    <item>
      <title>tDB_Input snowflake cannot retrieve timestamp column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tDB-Input-snowflake-cannot-retrieve-timestamp-column/m-p/2510470#M141869</link>
      <description>&lt;P&gt;I have a snowflake tDB_input block with this query:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;select CREATION_DATE from MyTable;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when I try to do a run it always fails with this error:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;net.snowflake.client.jdbc.SnowflakeSQLException: Cannot convert value in the driver from type:TIMESTAMP_NTZ to type:int.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the thing is nowhere do I try to convert this value. I can pull other columns just fine but any timestamp column always fails with that error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this is the timestamp format:&amp;nbsp;2024-09-12 10:04:04.163&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and this is how I setup the schema:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hamzaou_1-1742295584855.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178724i3FF6E30B6E6D17D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hamzaou_1-1742295584855.png" alt="hamzaou_1-1742295584855.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 11:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tDB-Input-snowflake-cannot-retrieve-timestamp-column/m-p/2510470#M141869</guid>
      <dc:creator>hamzaou</dc:creator>
      <dc:date>2025-03-18T11:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: tDB_Input snowflake cannot retrieve timestamp column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tDB-Input-snowflake-cannot-retrieve-timestamp-column/m-p/2542127#M149390</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This issue is typically related to how the Snowflake JDBC driver maps TIMESTAMP data types (TIMESTAMP_NTZ, TIMESTAMP_LTZ, TIMESTAMP_TZ) when Talend retrieves metadata via tDBInput.&lt;/P&gt;&lt;P&gt;In some cases, the driver does not expose these timestamp columns in a way that Talend can automatically interpret, which can cause the column to appear missing or unusable.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Recommended actions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ensure the latest Snowflake JDBC driver is installed and used in Talend Studio.&lt;/P&gt;&lt;P&gt;Re-define the schema manually in tDBInput and map the timestamp column to a compatible Talend type (for example Date).&lt;/P&gt;&lt;P&gt;If needed, explicitly cast the timestamp column in the SQL query (for example to VARCHAR) and handle the conversion in Talend.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;:&lt;BR /&gt;This is a metadata/type-mapping issue rather than a problem with the Snowflake table itself. Updating the JDBC driver or explicitly casting the column usually resolves the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourav&lt;/P&gt;</description>
      <pubDate>Sun, 01 Feb 2026 20:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tDB-Input-snowflake-cannot-retrieve-timestamp-column/m-p/2542127#M149390</guid>
      <dc:creator>gouravdubey5</dc:creator>
      <dc:date>2026-02-01T20:31:59Z</dc:date>
    </item>
  </channel>
</rss>

