<?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: Timestamp datatype issue in Talend-Redshift in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312722#M83640</link>
    <description>&lt;P&gt;the simplest solution - do not use dynamic schema&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2017 23:40:23 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2017-07-09T23:40:23Z</dc:date>
    <item>
      <title>Timestamp datatype issue in Talend-Redshift</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312718#M83636</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a Talend job which should load data CSV from my local drive to Target Database Redshift. I have created an empty table through a DDL query in Redshift UI. But while loading data into the table via Talend Dynamic Schema all rows goes into reject flow which says error&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&amp;nbsp;"[Amazon][JDBC](10140) Error converting the value to Timestamp".&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;However when I manually&amp;nbsp;try to insert same values in RedShift UI via Insert query(DML) &amp;nbsp;then data is loaded successfully. Also when I try to keep the action on the table as "Drop table if exists and Create" then same data is loaded successfully but every field has datatype as "varchar" So can anyone please help me to understand why is it complaining about TimeStamp datatype in Talend. &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Redshift.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvEa.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156253i91C1BF11BD11AB9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvEa.jpg" alt="0683p000009LvEa.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend Job design.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvKc.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146524i4DB258FA3A253190/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvKc.jpg" alt="0683p000009LvKc.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dynamic schema_1.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvKT.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157742i7B8FACDE04D459CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvKT.jpg" alt="0683p000009LvKT.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tRedShiftOutput_component.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvKm.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149259i4816A2CE2B12D93C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvKm.jpg" alt="0683p000009LvKm.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 06:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312718#M83636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T06:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp datatype issue in Talend-Redshift</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312719#M83637</link>
      <description>&lt;P&gt; 
 &lt;STRIKE&gt;
   try to change date pattern to proper for Redshift - "yyyy-MM-dd HH:mm:ss" 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   if You have in source other format - not sure (need) test Dynamic schema will work or not 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   in this case You may need manually convert date by dateParse / dateFormat functions 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;better to start from begin &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;what current date time format in file?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 09:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312719#M83637</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-07-05T09:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp datatype issue in Talend-Redshift</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312720#M83638</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN class="UserName lia-user-name lia-user-rank-Nine-Stars lia-component-message-view-widget-author-username"&gt;&lt;SPAN&gt;&amp;nbsp;Vapukov,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Datetime format in CSV&amp;nbsp;file is&amp;nbsp;2017-03-24T23:20:26.000Z . And to cut short my question is it possible to Load data of CSV file into Redshift Table wherein Datatype in the schema is Dynamic. If yes then how? Because currently, I am able to do the same thing in SQL Server without any such issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 14:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312720#M83638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T14:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp datatype issue in Talend-Redshift</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312721#M83639</link>
      <description>&lt;P&gt;Does anyone have any solution?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 18:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312721#M83639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-09T18:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp datatype issue in Talend-Redshift</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312722#M83640</link>
      <description>&lt;P&gt;the simplest solution - do not use dynamic schema&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 23:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312722#M83640</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-07-09T23:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp datatype issue in Talend-Redshift</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312723#M83641</link>
      <description>&lt;P&gt;Well if I had to do that then I would not have posted for help on this forum in the first place &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; But anyways I have managed to load data from CSV into redshift DB&amp;nbsp;using Dynamic schema for all datatypes except for fields which have a timezone. It seems Redshift JDBC driver doesn't support timestamptz datatype anymore. So don't know how to load it without driver support.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 13:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312723#M83641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-10T13:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp datatype issue in Talend-Redshift</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312724#M83642</link>
      <description>&lt;P&gt;it always pain&lt;/P&gt;
&lt;P&gt;not only redshift (which is +- postgresql)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but try to check Hortonworks forums about problems with Avro and NiFi ... all same - date error always, int, long require manual edit avro schema and etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fact simple - all software which positioning it self as "Dynamic" perfect work with String (Varchar and etc)&lt;/P&gt;
&lt;P&gt;more or less work with int/long/double&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sometime - You spend much more time for try to resolve simple problem - "" is not allowed for INT, than define fixed structure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 13:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Timestamp-datatype-issue-in-Talend-Redshift/m-p/2312724#M83642</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2017-07-10T13:27:36Z</dc:date>
    </item>
  </channel>
</rss>

