<?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: Insert null in a column of data type Double in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485979#M141372</link>
    <description>&lt;P&gt;it's the same:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1728403996655.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172675i6660E3627C3B1568/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1728403996655.png" alt="ali_hijazi_0-1728403996655.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but the field currency is of type string and it accepts null as value&lt;BR /&gt;I'm pretty sure there is something special about null in double data type&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 16:13:55 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2024-10-08T16:13:55Z</dc:date>
    <item>
      <title>Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2484844#M141341</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;BR /&gt;I'm working on Talend studio, I have a t_Map&lt;BR /&gt;I have a column of type double;&amp;nbsp;&lt;BR /&gt;I'm writing the following expression :&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;row3.t_fixed != null &amp;amp;&amp;amp; row3.t_fact != null&lt;BR /&gt;?&lt;BR /&gt;row3.t_fixed != 0 || row3.t_fact == 0&amp;nbsp;&lt;BR /&gt;?&lt;BR /&gt;null&lt;BR /&gt;:&lt;BR /&gt;row3.r_std&lt;BR /&gt;:&lt;BR /&gt;null&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;However I'm getting an error saying it's nullPointer Exception&lt;BR /&gt;If I replace null with zero the job works fine, but I don't want to put zero but rather null&lt;BR /&gt;&lt;BR /&gt;Kindly advise&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 09:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2484844#M141341</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-10-02T09:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485213#M141346</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216"&gt;@ali_hijazi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you please add a screen shot of your tMap Output Schema and also the log error?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 02:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485213#M141346</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-10-04T02:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485635#M141352</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;sorry for the late notice&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1728309973136.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172582iBC325EC98C583D97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1728309973136.png" alt="ali_hijazi_0-1728309973136.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is a screen shot of the tmap component&lt;BR /&gt;I created a variable called var_tarrifstd of type double&lt;BR /&gt;and this is the definition:&lt;BR /&gt;when I use null I get an error but when I use null the job works successfully&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_1-1728310108298.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172583i3B3C76E382EE97E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_1-1728310108298.png" alt="ali_hijazi_1-1728310108298.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_2-1728310308862.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172584i919EA45C9E31637B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_2-1728310308862.png" alt="ali_hijazi_2-1728310308862.png" /&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>Mon, 07 Oct 2024 14:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485635#M141352</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-10-07T14:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485694#M141356</link>
      <description>&lt;P&gt;The code is Ok, I don't have the error.&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;row3.t_fixed != null &amp;amp;&amp;amp; row3.t_fact != null
?
row3.r_std
:
null&lt;/LI-CODE&gt;
&lt;P&gt;Are you sure the error is in tarifstd field?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 18:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485694#M141356</guid>
      <dc:creator>fcolagiacomo</dc:creator>
      <dc:date>2024-10-07T18:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485701#M141357</link>
      <description>&lt;P&gt;Yes the error is raised in tmap component while the field is nullable.&lt;/P&gt;
&lt;P&gt;When I put zero then the job finishes successfully&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 18:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485701#M141357</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-10-07T18:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485710#M141358</link>
      <description>&lt;P&gt;Can you try to replace your whole variable code to just return null and add a tLog after the tMap (deactivating for now the nodes after the tMap)?&lt;/P&gt;
&lt;P&gt;Your schemas are looking good so I'm just making sure the problem is in your tMap and on that field.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 19:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485710#M141358</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-10-07T19:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485716#M141359</link>
      <description>&lt;P&gt;Can you make some examples with input values for&amp;nbsp;&lt;SPAN&gt;row3.t_fixed, row3.t_fact, row3.r_std and expected values?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you show me the code for variable var_r_currency?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 19:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485716#M141359</guid>
      <dc:creator>fcolagiacomo</dc:creator>
      <dc:date>2024-10-07T19:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485979#M141372</link>
      <description>&lt;P&gt;it's the same:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1728403996655.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172675i6660E3627C3B1568/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1728403996655.png" alt="ali_hijazi_0-1728403996655.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but the field currency is of type string and it accepts null as value&lt;BR /&gt;I'm pretty sure there is something special about null in double data type&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 16:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2485979#M141372</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-10-08T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Insert null in a column of data type Double</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2486621#M141394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I believe I understand where the problem is.&lt;/P&gt;
&lt;P&gt;You are right! If you use a var in tMap as double, Talend build the code like this:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;class Var__tMap_1__Struct {
  double var1;
}&lt;/LI-CODE&gt;
&lt;P&gt;So you cannot use null value.&lt;/P&gt;
&lt;P&gt;The solution is:&lt;/P&gt;
&lt;P&gt;You haven't to use your code in Var field but you have to insert it directly in field Expression of&amp;nbsp;&lt;EM&gt;tarifstd.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 18:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-null-in-a-column-of-data-type-Double/m-p/2486621#M141394</guid>
      <dc:creator>fcolagiacomo</dc:creator>
      <dc:date>2024-10-11T18:01:08Z</dc:date>
    </item>
  </channel>
</rss>

