<?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: Handling BigDecimal in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327427#M96809</link>
    <description>&lt;P&gt;Hi Nikhil,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I do not want to change the datatype on the Schema to String. As there could be several such columns.&lt;/P&gt; 
&lt;P&gt;I think the tConvertType for the BigDecimal to Integer is working fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I see some other issue with the Date though. I will research some more and post it differently as this thread for BigDecimal is solved via the tConvertType.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 17:22:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-11T17:22:31Z</dc:date>
    <item>
      <title>Handling BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327421#M96803</link>
      <description>&lt;P&gt;I found an issue with handling BigDecimal data conversion in the tMap.&lt;/P&gt;
&lt;P&gt;The scenario is I am reading Hive data in tHiveInput and some of the fields are defined as bigint in the Hive and are by default treated as BigDecimal. I am writing the data to oracle with tDBPOutput. For the target, I am converting the BigDecimal fields to Int using the Talend function .intValue() in the tMap.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is working fine when the source fields have some values in them. However, when they are blank, (null), then I am getting a Null pointer exception in tMap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts on best way to handle this?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327421#M96803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327422#M96804</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Either you will have to handle the null using additional Relational ISNULL function available in tMap or you will have to use tConvertType component so that Talend tool will do the data conversions for you.&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>Tue, 09 Jul 2019 22:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327422#M96804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-09T22:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327423#M96805</link>
      <description>&lt;P&gt;Hi Nikhil,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already&amp;nbsp; tried the ISNULL with the BigDecimal and it throwed me an error. I had to explicity handle the NULLs as 0s to be able to load the data.&lt;/P&gt;
&lt;P&gt;Error when using ISNULL is:&lt;/P&gt;
&lt;P&gt;Detail Message: The method ISNULL(Integer) is undefined for the type &amp;lt;job name&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know if there is any thing to check that's not working as expected?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Siddartha&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327423#M96805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-11T17:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327424#M96806</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;When you are doing the data read, could you please mark it as String instead of BigDecimal in your schema? Then you can do the null check and conversion easily. Some screenshots will be appreciated to understand more about the issue.&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, 11 Jul 2019 17:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327424#M96806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-11T17:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327425#M96807</link>
      <description>&lt;P&gt;I like the tConverType Solution. It is a cool feature, I am yet to validate the results but atleast the job is running successfully.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327425#M96807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-11T17:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327426#M96808</link>
      <description>&lt;P&gt;Perfect!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please mark the topic as resolved after validation?&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327426#M96808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-11T17:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Handling BigDecimal</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327427#M96809</link>
      <description>&lt;P&gt;Hi Nikhil,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I do not want to change the datatype on the Schema to String. As there could be several such columns.&lt;/P&gt; 
&lt;P&gt;I think the tConvertType for the BigDecimal to Integer is working fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I see some other issue with the Date though. I will research some more and post it differently as this thread for BigDecimal is solved via the tConvertType.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Handling-BigDecimal/m-p/2327427#M96809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-11T17:22:31Z</dc:date>
    </item>
  </channel>
</rss>

