<?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: null and zero handling for double in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195436#M52</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Talend developed on Java and use Java for routines, not SQL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so proper syntax could be&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;row1.APPRVD_AMT&lt;/SPAN&gt;!=null&amp;amp;&amp;amp;&lt;SPAN&gt;row1.APPRVD_AMT&lt;/SPAN&gt;!=0&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;Relational.isNull(&lt;SPAN&gt;row1.APPRVD_AMT&lt;/SPAN&gt;)==0&amp;amp;&amp;amp;&lt;SPAN&gt;row1.APPRVD_AMT&lt;/SPAN&gt;!=0&lt;/PRE&gt;&lt;P&gt;regards, Vlad&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2019 03:41:28 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2019-03-25T03:41:28Z</dc:date>
    <item>
      <title>null and zero handling for double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195435#M51</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to do a null handling for a double type column and was given error...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;(row1.APPRVD_AMT IS NOT NULL AND row1.APPRVD_AMT&amp;lt;&amp;gt;0)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone pls assist on how do I convert double to where the value consist of only non nulls and not 0.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 02:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195435#M51</guid>
      <dc:creator>sszzxx</dc:creator>
      <dc:date>2019-03-25T02:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: null and zero handling for double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195436#M52</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Talend developed on Java and use Java for routines, not SQL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so proper syntax could be&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;row1.APPRVD_AMT&lt;/SPAN&gt;!=null&amp;amp;&amp;amp;&lt;SPAN&gt;row1.APPRVD_AMT&lt;/SPAN&gt;!=0&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;Relational.isNull(&lt;SPAN&gt;row1.APPRVD_AMT&lt;/SPAN&gt;)==0&amp;amp;&amp;amp;&lt;SPAN&gt;row1.APPRVD_AMT&lt;/SPAN&gt;!=0&lt;/PRE&gt;&lt;P&gt;regards, Vlad&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 03:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195436#M52</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-03-25T03:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: null and zero handling for double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195437#M53</link>
      <description>&lt;P&gt;hi Vapukov,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried putting it as you have listed but however I received this error message as I tried to build the job:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the operator !=is undefined for the argument type(s) double,null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forgot to point out that my datatype is double for this case ... do I have to cast it to string first before i use the statement you have assist in providing to me for?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 07:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195437#M53</guid>
      <dc:creator>sszzxx</dc:creator>
      <dc:date>2019-03-25T07:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: null and zero handling for double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195438#M54</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is work for &lt;STRONG&gt;Double&lt;/STRONG&gt;, but not work for &lt;STRONG&gt;double&lt;/STRONG&gt; &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;you could attach your design&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in case of double, you could define the column as not null and assign a default value to it (as variant)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 08:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/null-and-zero-handling-for-double/m-p/2195438#M54</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-03-25T08:29:44Z</dc:date>
    </item>
  </channel>
</rss>

