<?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: Trouble loading  date using talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253075#M36530</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPSVAA4"&gt;@rchinta&lt;/A&gt;&amp;nbsp;, you can string to date in below function in tmap ot tjavarow&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;TalendDate.parseDate("MM-dd-yyyy HH:mm:ss", yourStringData)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 08:30:27 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2019-04-11T08:30:27Z</dc:date>
    <item>
      <title>Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253074#M36529</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a trouble while loading date of value '01-01-&lt;STRONG&gt;0001&lt;/STRONG&gt; 00:00:00' and '01-01-&lt;STRONG&gt;4712&lt;/STRONG&gt; 00:00:00' into my Database with Talend as the ETL tool. Talend is not recognizing the format as date but considering it a string.&amp;nbsp; When I explicitly convert the string to date format(MM-dd-yyyy HH:mm:ss), the job building is popping out an error "Cannot convert value to date". Can anyone help me with this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance,&lt;/P&gt; 
&lt;P&gt;Ramya.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 08:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253074#M36529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-11T08:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253075#M36530</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPSVAA4"&gt;@rchinta&lt;/A&gt;&amp;nbsp;, you can string to date in below function in tmap ot tjavarow&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;TalendDate.parseDate("MM-dd-yyyy HH:mm:ss", yourStringData)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 08:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253075#M36530</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-04-11T08:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253076#M36531</link>
      <description>&lt;P&gt;Thank you for your reply Manohar.&lt;/P&gt; 
&lt;P&gt;When I tried doing the same I got the below error&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="C16E400.PNG" style="width: 785px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3iT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146384i052D9296B155276A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3iT.png" alt="0683p000009M3iT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Please let me k ow&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 17:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253076#M36531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-11T17:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253077#M36532</link>
      <description>Your input is already Date. It doesn’t need parsing.&lt;BR /&gt;&lt;BR /&gt;And why you ate thinking that it is read as Date?&lt;BR /&gt;&lt;BR /&gt;Screenshot of job could help.</description>
      <pubDate>Thu, 11 Apr 2019 19:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253077#M36532</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-11T19:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253078#M36533</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPSVAA4"&gt;@rchinta&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Since your input value is already a date, your issue could be due to date range problem.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You are trying to load a date with year 4712 to database. But DBs have some limitations on the date range they can handle.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example, Oracle can handle all the dates between 0001-01-01 to&amp;nbsp;9999-12-31. But Teradata's date range is different and it can handle only the date range up to&amp;nbsp;3500-12-31. So you need to check the maximum value of date allowed for your DB.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 05:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253078#M36533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-12T05:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253079#M36534</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPSVAA4"&gt;@rchinta&lt;/A&gt;&amp;nbsp;,as part of testing can you insert the default value like&amp;nbsp;&lt;SPAN&gt;31-12-9999 ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;check the below link&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.teradata.com/t5/Database/Default-VAlue-for-a-Date-Column/td-p/42400" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.teradata.com/t5/Database/Default-VAlue-for-a-Date-Column/td-p/42400&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 05:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253079#M36534</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-04-12T05:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253080#M36535</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPSVAA4"&gt;@rchinta&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you are using Teradata, the maximum value allowed for date is&amp;nbsp;&lt;SPAN&gt;3500-12-31 and not&amp;nbsp;9999-12-31. If you are using some other DB, please consult the corresponding maximum threshold value allowed from DB documentation.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 06:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253080#M36535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-12T06:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253081#M36536</link>
      <description>&lt;P&gt;Thank you everyone for your helpful recommends.&lt;/P&gt; 
&lt;P&gt;When I tried giving year as 1990 it worked fine. I initially thought it is not considering as a date because it is throwing an error 'value to date'. I'm using Redshift Database. So, I guess I have to check for the date value range prior to my loads.&lt;/P&gt; 
&lt;P&gt;Talend Community have been very supportive&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;</description>
      <pubDate>Fri, 12 Apr 2019 07:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253081#M36536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-12T07:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253082#M36537</link>
      <description>&lt;P&gt;Perfect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please close the topic as you have got the answer for your query?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 07:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253082#M36537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-12T07:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253083#M36538</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;As mentioned I've tried loading data with year 0001 into Redshift directly. It got loaded into the Redshift DB without any issues.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="picture-0001.png" style="width: 535px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4cq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152579i117FBB09A6F0C2AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4cq.png" alt="0683p000009M4cq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So, I guess it may be an issue with Talend itself.&lt;/P&gt; 
&lt;P&gt;Can you guys please help me further.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 07:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253083#M36538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-15T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253084#M36539</link>
      <description>&lt;P&gt;Hi Ramya,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Could you please share your job screenshot and the component where you are mapping the date in correct format? End of day, Talend is a Java code generator. I could see that the dates have mentioned is getting converted from string to date properly in Talend tMap.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 824px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4U4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132826i4F1FE5AB54627034/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4U4.png" alt="0683p000009M4U4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 809px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4fp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147532iF714E1B463F7D89D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4fp.png" alt="0683p000009M4fp.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The function used is as below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;TalendDate.parseDate("dd-MM-yyyy", "01-01-4712")&lt;/PRE&gt; 
&lt;P&gt;If your data is already in date format, you can skip this conversion step and can directly map them.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I do not have a Redshift DB handy right now. So more screenshots of your overall flow will help us to analyse further.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 09:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253084#M36539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-18T09:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253085#M36540</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt; 
&lt;P&gt;Thank you for your suggestions.&lt;/P&gt; 
&lt;P&gt;My value is already a date. So, I reckon parsedate function doesnot work out.&lt;/P&gt; 
&lt;P&gt;I didn't perform any conversions. Also didn't use any tmap. Still, we are faing error converting value to date error.&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Date_0001.PNG" style="width: 639px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4ni.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141280i479DF8CCADB7814A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4ni.png" alt="0683p000009M4ni.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ramya.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 09:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253085#M36540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-24T09:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble loading  date using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253086#M36541</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPSVAA4"&gt;@rchinta&lt;/A&gt;&amp;nbsp;,what error are you getting? if you are sure and want to convert one date format to another date format,just use tconverttype to convert the one date to other date or sting to date and let me know the error?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 10:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trouble-loading-date-using-talend/m-p/2253086#M36541</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-04-24T10:06:53Z</dc:date>
    </item>
  </channel>
</rss>

