<?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: Reading Date columns through Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reading-Date-columns-through-Talend/m-p/2218279#M13532</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;ok thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 07:29:38 GMT</pubDate>
    <dc:creator>sushantk19</dc:creator>
    <dc:date>2020-04-22T07:29:38Z</dc:date>
    <item>
      <title>Reading Date columns through Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-Date-columns-through-Talend/m-p/2218277#M13530</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My source fields are Datetime. in format YYYY-mm-dd HH:mm:ss. My target Database Redshift also has this field defined as Timestamp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.So if i read the source field as "String" datatype then the date values get loaded correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.But if i read them as date and load the data to my target table,then there is an offset of 1 hour added to these values. To handle this, i have added&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;-Duser.timezone=UTC&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;the above condition and then date values get reflected correctly. But i have added another field in my stage table i.e Load_at to track the current data load time. It also shows up the time in UTC timezone and not the current timezone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SO which approach is correct? Should i always read date fields from source system as "string" datatype and load&amp;nbsp; OR use the above function &lt;STRONG&gt;-Duser.timezone=UTC&lt;/STRONG&gt; to correct my date time before loading my target Tables? Both the approach give same result.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-Date-columns-through-Talend/m-p/2218277#M13530</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2024-11-16T02:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Date columns through Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-Date-columns-through-Talend/m-p/2218278#M13531</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvwAAG"&gt;@sushantk19&lt;/A&gt;, I suggest you go with the second approach.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 05:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-Date-columns-through-Talend/m-p/2218278#M13531</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-22T05:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Date columns through Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-Date-columns-through-Talend/m-p/2218279#M13532</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;ok thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 07:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-Date-columns-through-Talend/m-p/2218279#M13532</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-04-22T07:29:38Z</dc:date>
    </item>
  </channel>
</rss>

