<?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: [resolved] Convert the BigDecimal Value into Date format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363567#M127429</link>
    <description>How to convert null into new BigDecimal?</description>
    <pubDate>Thu, 08 Jan 2015 05:58:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-08T05:58:04Z</dc:date>
    <item>
      <title>[resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363559#M127421</link>
      <description>Hi, 
&lt;BR /&gt;I am using Talend Data Integration Tool (5.3.1r104014), i would like to integrate the data from Source database to destination data base with using tmap_1 component, the source and destination are MSSQL. 
&lt;BR /&gt;So From the source data base they define the date format like this 20101109(i.e. data type is Bigdecimal), but in the destination the date format is dd/mm/yyyy (i.e. data type is date). 
&lt;BR /&gt;I am unable to convert the Bigdecimal value into Date format and unable to give the null value. 
&lt;BR /&gt;Code: 
&lt;BR /&gt;TalendDate.parseDate("yyyy-MM-dd",TalendDate.formatDate("yyyy-MM-dd",TalendDate.parseDate("yyyyMMdd",row1.newColumn.toString()))) 
&lt;BR /&gt;When i am execute the above mentioned code in the Expression Builder, the result is "Exception in component tRowGenerator_1" appear. 
&lt;BR /&gt;And also i am unable to give the null date format like "12/31/1599" , Please find the attached screen shot. 
&lt;BR /&gt;Please help on the above two issues 
&lt;BR /&gt;Thanks in advance 
&lt;BR /&gt;Siva 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEUy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145949iBE39E6C7E38F5959/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEUy.png" alt="0683p000009MEUy.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 14 Aug 2013 08:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363559#M127421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-14T08:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363560#M127422</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;When i am execute the above mentioned code in the Expression Builder, the result is "Exception in component tRowGenerator_1" appear.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;The Test! button can't understand row2.AUDIT if the expression refers to a column value, you need to execute the job to see if the job works without any compilation error or Java error, we usually use the Test! button to test a function, as the screenshot showed. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEhR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134538i31ED6477C2A0945B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEhR.png" alt="0683p000009MEhR.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 14 Aug 2013 08:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363560#M127422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-14T08:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363561#M127423</link>
      <description>Hi Sabrina,&lt;BR /&gt;Thank you for the information,&lt;BR /&gt;I would like to pass the null date like "12/31/1599", Is there any possibility to pass the null date,&lt;BR /&gt;Please let me know, what is the function to pass the null date value.&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;Siva</description>
      <pubDate>Wed, 14 Aug 2013 10:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363561#M127423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-14T10:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363562#M127424</link>
      <description>Hi, &lt;BR /&gt;Do you mean convert the null string or empty into 12/31/1599 by default?&lt;BR /&gt;Such as:&lt;BR /&gt;Input source:&lt;BR /&gt;12/04/2011;&lt;BR /&gt;null;&lt;BR /&gt;     ;&lt;BR /&gt;08/23/2012;&lt;BR /&gt;Expected result:&lt;BR /&gt;12/04/2011;&lt;BR /&gt;12/31/1599;&lt;BR /&gt;12/31/1599;&lt;BR /&gt;08/23/2012; ?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 14 Aug 2013 10:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363562#M127424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-14T10:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363563#M127425</link>
      <description>Hi, 
&lt;BR /&gt;When i give the input as 12/04/2011; i have faced the first screen error data type mismatch. 
&lt;BR /&gt;if i give the input null; the second screen shot error appear. 
&lt;BR /&gt;So what i am expected, i want a null date to pass the destination columns like 12/31/1599. 
&lt;BR /&gt;Please help us 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Siva 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEv7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150620i87AD59DAF39DCE1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEv7.png" alt="0683p000009MEv7.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEvC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148152i6A238E51891DCBB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEvC.png" alt="0683p000009MEvC.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 14 Aug 2013 12:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363563#M127425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-14T12:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363564#M127426</link>
      <description>Hi
&lt;BR /&gt;According to your request, you need to convert null to a fixed date, before inserting it to target database, for example:
&lt;BR /&gt;row1.newColumn==null?TalendDate.parseDate("MM/dd/yyyy", "12/31/1599"):TalendDate.parseDate("yyyyMMdd",row1.newColumn.toString())
&lt;BR /&gt;And set the data type of this column as Date in the output table of tMap.
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 14 Aug 2013 14:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363564#M127426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-14T14:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363565#M127427</link>
      <description>Hello i'm when i'm convert unix date to readable date i got the default value for the timestamps date any help 
&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;?</description>
      <pubDate>Thu, 24 Oct 2013 14:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363565#M127427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-24T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363566#M127428</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello i'm when i'm convert unix date to readable date i got the default value for the timestamps date any help &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;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Take a look at a related topic: 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vConyCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-Unix-date-to-normal-date-tmap/td-p/97297&lt;/A&gt; 
&lt;BR /&gt;If you still have problem, please describe your problem with more details. 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 25 Oct 2013 03:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363566#M127428</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-25T03:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363567#M127429</link>
      <description>How to convert null into new BigDecimal?</description>
      <pubDate>Thu, 08 Jan 2015 05:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363567#M127429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-08T05:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363568#M127430</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;How to convert null into new BigDecimal?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Can you please explain your requirement with more details? Are you getting error when convert a column data to BigDecimal type? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 21 Jan 2015 04:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363568#M127430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-21T04:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert the BigDecimal Value into Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363569#M127431</link>
      <description>This is now okay.&lt;BR /&gt;thank you</description>
      <pubDate>Wed, 21 Jan 2015 04:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-the-BigDecimal-Value-into-Date-format/m-p/2363569#M127431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-21T04:50:28Z</dc:date>
    </item>
  </channel>
</rss>

