<?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 handling null from source data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293480#M66449</link>
    <description>&lt;P&gt;My logic is based on 2 source fields. both are of INTdatatype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the logic as (row1.registrationchannel==null &amp;amp;&amp;amp; row1.is_from_app==null)?null:null.&lt;/P&gt;&lt;P&gt;With the above logic, it gives me NULL pointer exception as below if both the columns have NULL values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception in component tMap_1 (job_DM_001_Customer)&lt;/P&gt;&lt;P&gt;java.lang.NullPointerException&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to handle this in ETL or tmap somehow?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:26:10 GMT</pubDate>
    <dc:creator>sushantk19</dc:creator>
    <dc:date>2024-11-16T01:26:10Z</dc:date>
    <item>
      <title>handling null from source data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293480#M66449</link>
      <description>&lt;P&gt;My logic is based on 2 source fields. both are of INTdatatype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the logic as (row1.registrationchannel==null &amp;amp;&amp;amp; row1.is_from_app==null)?null:null.&lt;/P&gt;&lt;P&gt;With the above logic, it gives me NULL pointer exception as below if both the columns have NULL values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception in component tMap_1 (job_DM_001_Customer)&lt;/P&gt;&lt;P&gt;java.lang.NullPointerException&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to handle this in ETL or tmap somehow?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293480#M66449</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2024-11-16T01:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: handling null from source data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293481#M66450</link>
      <description>&lt;P&gt;Could you check the false condition, you are trying to give null for both true and false condition also. which is not accepted&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 11:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293481#M66450</guid>
      <dc:creator>vikramk</dc:creator>
      <dc:date>2020-09-18T11:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: handling null from source data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293482#M66451</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is your source field INT or integer data type?&lt;/P&gt;&lt;P&gt;Schemas allow you to specify if a column is nullable. This usually determines if it is an int or an Integer. You need to make it nullable. &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 06:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293482#M66451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-21T06:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: handling null from source data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293483#M66452</link>
      <description>&lt;P&gt;@Sushant Kapoor​&amp;nbsp;,check the below screens should work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009ovgbAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155971iD5779C677A814494/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009ovgbAAA.png" alt="0693p000009ovgbAAA.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 05:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293483#M66452</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-09-22T05:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: handling null from source data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293484#M66453</link>
      <description>&lt;P&gt;what is difference between the 2? i have used:&lt;/P&gt;&lt;P&gt;(row1.registrationchannel==null &amp;amp;&amp;amp; row1.is_from_app==null)?null:null.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 09:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293484#M66453</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-09-22T09:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: handling null from source data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293485#M66454</link>
      <description>&lt;P&gt;yes, both are INT fields. Target field is defined as Nullable only in Database.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 09:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293485#M66454</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-09-22T09:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: handling null from source data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293486#M66455</link>
      <description>&lt;P&gt;can you be more clear. how do i check for false condition? can you update my logic and show me?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 09:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293486#M66455</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-09-22T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: handling null from source data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293487#M66456</link>
      <description>&lt;P&gt;@Sushant Kapoor​&amp;nbsp;.check the below links.&lt;/P&gt;&lt;P&gt;https://www.tutorialspoint.com/difference-between-an-integer-and-int-in-java#:~:text=A%20Java%20both%20int%20and,Integer%20is%20of%20class%20type.&amp;amp;text=A%20int%20is%20a%20data,type%20int%20into%20an%20object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://stackoverflow.com/questions/8660691/what-is-the-difference-between-integer-and-int-in-java&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 09:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/handling-null-from-source-data/m-p/2293487#M66456</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-09-22T09:59:12Z</dc:date>
    </item>
  </channel>
</rss>

