<?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: How to replace null values with numeric value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351760#M118348</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you compare BigDecimal value with null? If so, 500 is an int, you cannot assign it to a BigDecimal column.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Fri, 22 Sep 2017 10:36:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-22T10:36:20Z</dc:date>
    <item>
      <title>How to replace null values with numeric value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351758#M118346</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm getting some null values from source column which column having a Number as data type, I want to replace null value with "500" in tMap. I tried with&amp;nbsp;&lt;STRONG&gt;row1.Rate!=null?500:row1.rate&amp;nbsp;&lt;/STRONG&gt;but it is throwing the following error.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Error Line: 1119&lt;BR /&gt;Detail Message: Type mismatch: cannot convert from Number&amp;amp;Comparable&amp;lt;?&amp;gt; to BigDecimal&lt;BR /&gt;There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Kindly advise.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 15:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351758#M118346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-21T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace null values with numeric value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351759#M118347</link>
      <description>&lt;P&gt;Here it is:&lt;/P&gt;&lt;PRE&gt;row2.rate == null ? new BigDecimal("500") : row2.rate&lt;/PRE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 17:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351759#M118347</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-09-21T17:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace null values with numeric value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351760#M118348</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you compare BigDecimal value with null? If so, 500 is an int, you cannot assign it to a BigDecimal column.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 10:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351760#M118348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-22T10:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace null values with numeric value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351761#M118349</link>
      <description>&lt;P&gt;it is not giving any error but is not replacing with value.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 11:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-values-with-numeric-value/m-p/2351761#M118349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-22T11:38:39Z</dc:date>
    </item>
  </channel>
</rss>

