<?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 Errors while handling the null data when both incoming and outgoing data values are of date type in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Errors-while-handling-the-null-data-when-both-incoming-and/m-p/2324066#M93822</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Unable to solve the issue when incoming DATE value has null values while trying to save the final data in the target DB as DATE.&lt;/P&gt;&lt;P&gt;The  source input  column is date type and target output is also date type, &amp;amp; both incoming and outgoing values are from Oracle DB. &lt;/P&gt;&lt;P&gt;&lt;B&gt;Case 1: When column is set as date in tDBInput and as string in Tmap&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Source Data: &lt;/B&gt;Defined as Date type in Oracle DB&lt;/P&gt;&lt;P&gt;&lt;B&gt;tDBInput&lt;/B&gt; --&amp;gt; columns is set as date type ( sample data in this column: 11-MAR-08 15:16:25 );  &lt;/P&gt;&lt;P&gt;&lt;B&gt;Tmap&lt;/B&gt; --&amp;gt;  declared column as string type,; allow null check box is checked; and using the following expression:&lt;/P&gt;&lt;P&gt;Relational.ISNULL(row12.LAST_UPDATE_DATE) ? null :  TalendDate.parseDate("yyyy-MM-dd'T'HH:mm:ss",row12.LAST_UPDATE_DATE)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Target Data: &lt;/B&gt;&lt;/P&gt;&lt;P&gt;Defined as Date type in Oracle DB&lt;/P&gt;&lt;P&gt;This is the compilation error: The method parseDate(String, String) in the type TalendDate is not applicable for the arguments (String, Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Case 2: When column is set as date in both  tDBInput and Tmap:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Tmap expression &lt;/B&gt;: &lt;/P&gt;&lt;P&gt;Relational.ISNULL(row12.AOG_CAT_LAST_UPDATE_DATE) ? null : row12.AOG_CAT_LAST_UPDATE_DATE&lt;/P&gt;&lt;P&gt;Run time error: &lt;/P&gt;&lt;P&gt;ava.sql.SQLException: Invalid conversion requested&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.CharCommonAccessor.getTimestamp(CharCommonAccessor.java:420)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.T4CVarcharAccessor.getTimestamp(T4CVarcharAccessor.java:644)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.GeneratedStatement.getTimestamp(GeneratedStatement.java:360)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.GeneratedScrollableResultSet.getTimestamp(GeneratedScrollableResultSet.java:1008)&lt;/P&gt;&lt;P&gt;	at routines.system.JDBCUtil.getDate(JDBCUtil.java:61)&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;Caused by: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you let me know how to handle this?&lt;/P&gt;&lt;P&gt;-Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Feb 2021 22:56:39 GMT</pubDate>
    <dc:creator>aprn</dc:creator>
    <dc:date>2021-02-06T22:56:39Z</dc:date>
    <item>
      <title>Errors while handling the null data when both incoming and outgoing data values are of date type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Errors-while-handling-the-null-data-when-both-incoming-and/m-p/2324066#M93822</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Unable to solve the issue when incoming DATE value has null values while trying to save the final data in the target DB as DATE.&lt;/P&gt;&lt;P&gt;The  source input  column is date type and target output is also date type, &amp;amp; both incoming and outgoing values are from Oracle DB. &lt;/P&gt;&lt;P&gt;&lt;B&gt;Case 1: When column is set as date in tDBInput and as string in Tmap&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Source Data: &lt;/B&gt;Defined as Date type in Oracle DB&lt;/P&gt;&lt;P&gt;&lt;B&gt;tDBInput&lt;/B&gt; --&amp;gt; columns is set as date type ( sample data in this column: 11-MAR-08 15:16:25 );  &lt;/P&gt;&lt;P&gt;&lt;B&gt;Tmap&lt;/B&gt; --&amp;gt;  declared column as string type,; allow null check box is checked; and using the following expression:&lt;/P&gt;&lt;P&gt;Relational.ISNULL(row12.LAST_UPDATE_DATE) ? null :  TalendDate.parseDate("yyyy-MM-dd'T'HH:mm:ss",row12.LAST_UPDATE_DATE)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Target Data: &lt;/B&gt;&lt;/P&gt;&lt;P&gt;Defined as Date type in Oracle DB&lt;/P&gt;&lt;P&gt;This is the compilation error: The method parseDate(String, String) in the type TalendDate is not applicable for the arguments (String, Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Case 2: When column is set as date in both  tDBInput and Tmap:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Tmap expression &lt;/B&gt;: &lt;/P&gt;&lt;P&gt;Relational.ISNULL(row12.AOG_CAT_LAST_UPDATE_DATE) ? null : row12.AOG_CAT_LAST_UPDATE_DATE&lt;/P&gt;&lt;P&gt;Run time error: &lt;/P&gt;&lt;P&gt;ava.sql.SQLException: Invalid conversion requested&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.CharCommonAccessor.getTimestamp(CharCommonAccessor.java:420)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.T4CVarcharAccessor.getTimestamp(T4CVarcharAccessor.java:644)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.GeneratedStatement.getTimestamp(GeneratedStatement.java:360)&lt;/P&gt;&lt;P&gt;	at oracle.jdbc.driver.GeneratedScrollableResultSet.getTimestamp(GeneratedScrollableResultSet.java:1008)&lt;/P&gt;&lt;P&gt;	at routines.system.JDBCUtil.getDate(JDBCUtil.java:61)&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;Caused by: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you let me know how to handle this?&lt;/P&gt;&lt;P&gt;-Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 22:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Errors-while-handling-the-null-data-when-both-incoming-and/m-p/2324066#M93822</guid>
      <dc:creator>aprn</dc:creator>
      <dc:date>2021-02-06T22:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while handling the null data when both incoming and outgoing data values are of date type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Errors-while-handling-the-null-data-when-both-incoming-and/m-p/2324067#M93823</link>
      <description>&lt;P&gt;@not specified not specified​&amp;nbsp;, you need to check the format of the data which you are getting from the source and that format you need to convert .check at the source side are you getting yyyy-mm-dd hh:mm:ss format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 05:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Errors-while-handling-the-null-data-when-both-incoming-and/m-p/2324067#M93823</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2021-02-08T05:25:18Z</dc:date>
    </item>
  </channel>
</rss>

