<?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: Tmap entering 0 for output for null integer input in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Tmap-entering-0-for-output-for-null-integer-input/m-p/2241666#M28748</link>
    <description>&lt;P&gt;your logic translated to plain english look like:&lt;/P&gt;&lt;P&gt;- if any of 2 (&lt;SPAN&gt;Marvel_TV.Cartoonshows==null or&amp;nbsp;|Marvel_TV.Cartoonshows is empty) - &lt;STRONG&gt;use null&lt;/STRONG&gt;, if no one of them - use&amp;nbsp;new Integer(Marvel_TV.Cartoonshows)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is this logic correct or you must change it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;like&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Marvel_TV.Cartoonshows==null||Marvel_TV.Cartoonshows .equals("")?0:new Integer(Marvel_TV.Cartoonshows)&lt;/PRE&gt;</description>
    <pubDate>Tue, 18 Dec 2018 00:03:06 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2018-12-18T00:03:06Z</dc:date>
    <item>
      <title>Tmap entering 0 for output for null integer input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-entering-0-for-output-for-null-integer-input/m-p/2241665#M28747</link>
      <description>&lt;P&gt;Hey folks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the code below trying to set 0 for input integer row where the value is null but I still have null value on output. Any help is much appreciated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Marvel_TV.Cartoonshows ==null||Marvel_TV.Cartoonshows .equals("")?null:new Integer(Marvel_TV.Cartoonshows)&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Cheers,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Neil.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap null integer.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M10d.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128395iED053B764D244E01/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M10d.jpg" alt="0683p000009M10d.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 22:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-entering-0-for-output-for-null-integer-input/m-p/2241665#M28747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-17T22:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap entering 0 for output for null integer input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-entering-0-for-output-for-null-integer-input/m-p/2241666#M28748</link>
      <description>&lt;P&gt;your logic translated to plain english look like:&lt;/P&gt;&lt;P&gt;- if any of 2 (&lt;SPAN&gt;Marvel_TV.Cartoonshows==null or&amp;nbsp;|Marvel_TV.Cartoonshows is empty) - &lt;STRONG&gt;use null&lt;/STRONG&gt;, if no one of them - use&amp;nbsp;new Integer(Marvel_TV.Cartoonshows)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is this logic correct or you must change it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;like&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Marvel_TV.Cartoonshows==null||Marvel_TV.Cartoonshows .equals("")?0:new Integer(Marvel_TV.Cartoonshows)&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Dec 2018 00:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-entering-0-for-output-for-null-integer-input/m-p/2241666#M28748</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-12-18T00:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap entering 0 for output for null integer input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-entering-0-for-output-for-null-integer-input/m-p/2241667#M28749</link>
      <description>&lt;P&gt;Thats perfect thanks again your help is much appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 00:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-entering-0-for-output-for-null-integer-input/m-p/2241667#M28749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-18T00:05:45Z</dc:date>
    </item>
  </channel>
</rss>

