<?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 do i get a null int/Integer in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289921#M63258</link>
    <description>&lt;BLOCKQUOTE&gt;
  Fwandz wrote: 
 &lt;BR /&gt;if=null works with integer and not with int. 
 &lt;BR /&gt;But if i want an integer i have to cross the nullable case which is kind of problematic as a primary key value, and it will change my value in-built 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Ok, I understand and I share your question (I'had same problem, solved beacuse I can test a string column also available). 
&lt;BR /&gt;It sholud be useful if TOS has a lookup flag to test (it is available in others ETL program, for example). 
&lt;BR /&gt; 
&lt;BR /&gt;A workaround may be to insert a tMap and convert int to Integer, so you can use repository metadata and also have nullable column for lookup. 
&lt;BR /&gt; 
&lt;BR /&gt;Bye</description>
    <pubDate>Tue, 21 Jun 2016 14:49:44 GMT</pubDate>
    <dc:creator>gorotman</dc:creator>
    <dc:date>2016-06-21T14:49:44Z</dc:date>
    <item>
      <title>How do i get a null int/Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289914#M63251</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have a trouble in a tMap when i am trying to map with a left join and compare after the value of the key to update or insert.&lt;BR /&gt;the problem is the key is a number, and Talend cast it in int rather than Integer so it's value can't be null.&lt;BR /&gt;How can i cast it in Integer knowing that's it's just the output of DBinputcomponent, i don t see any options.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 09:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289914#M63251</guid>
      <dc:creator>Franz3</dc:creator>
      <dc:date>2016-06-16T09:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a null int/Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289915#M63252</link>
      <description>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. If it is, then there's something else not right.</description>
      <pubDate>Thu, 16 Jun 2016 10:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289915#M63252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-16T10:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a null int/Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289916#M63253</link>
      <description>It's not, and if i change it my problem is solved.&lt;BR /&gt;But the trouble i have here is that the column isn't nullable in my DB. I have to specify it just for the left join case i don't get the logic behind this, for me it's a bug.&lt;BR /&gt;The question is pretty simple : why is my variable equal to 0 even if it doesn't exist as a left join not matching value.</description>
      <pubDate>Fri, 17 Jun 2016 16:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289916#M63253</guid>
      <dc:creator>Franz3</dc:creator>
      <dc:date>2016-06-17T16:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a null int/Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289917#M63254</link>
      <description>Your original question was how to use Integer rather than int. Checking nullable is the answer.
&lt;BR /&gt;I'm do not know what the relevance of the column not being nullable in your DB, is. You need to explain the problem more.
&lt;BR /&gt;There is no bug, here.</description>
      <pubDate>Fri, 17 Jun 2016 17:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289917#M63254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-17T17:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a null int/Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289918#M63255</link>
      <description>My column is not not nullable because it's the key.&lt;BR /&gt;&lt;BR /&gt;I&amp;nbsp;have a tmap, 1 main stream M and 1&amp;nbsp;lookup Stream L.&lt;BR /&gt;I do a left join&amp;nbsp;on the key because both streams have the same structure.&lt;BR /&gt;What i want is to check in my output if the the row is joined or not.&lt;BR /&gt;So i basically test the value of the lookup Stream key which is an int as a not nullable primary key (which seems pretty normal)&lt;BR /&gt;When i test the value it return 0 in the case of&amp;nbsp;a non matching&amp;nbsp;row. As a possible value for my key i can't test 0, plus i dont know why Talend translate the void in 0 which is a correct value.</description>
      <pubDate>Tue, 21 Jun 2016 14:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289918#M63255</guid>
      <dc:creator>Franz3</dc:creator>
      <dc:date>2016-06-21T14:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a null int/Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289919#M63256</link>
      <description>Hi,&lt;BR /&gt;is your column int or Integer?&lt;BR /&gt;With int, null is not allowed, so TOS return 0 if lookup is null.&lt;BR /&gt;I don't know if =null works with Integer....</description>
      <pubDate>Tue, 21 Jun 2016 14:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289919#M63256</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2016-06-21T14:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a null int/Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289920#M63257</link>
      <description>if=null works with integer and not with int.&lt;BR /&gt;But if i want an integer i have to cross the nullable case which is kind of problematic as a primary key value, and it will change my value in-built</description>
      <pubDate>Tue, 21 Jun 2016 14:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289920#M63257</guid>
      <dc:creator>Franz3</dc:creator>
      <dc:date>2016-06-21T14:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get a null int/Integer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289921#M63258</link>
      <description>&lt;BLOCKQUOTE&gt;
  Fwandz wrote: 
 &lt;BR /&gt;if=null works with integer and not with int. 
 &lt;BR /&gt;But if i want an integer i have to cross the nullable case which is kind of problematic as a primary key value, and it will change my value in-built 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Ok, I understand and I share your question (I'had same problem, solved beacuse I can test a string column also available). 
&lt;BR /&gt;It sholud be useful if TOS has a lookup flag to test (it is available in others ETL program, for example). 
&lt;BR /&gt; 
&lt;BR /&gt;A workaround may be to insert a tMap and convert int to Integer, so you can use repository metadata and also have nullable column for lookup. 
&lt;BR /&gt; 
&lt;BR /&gt;Bye</description>
      <pubDate>Tue, 21 Jun 2016 14:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-i-get-a-null-int-Integer/m-p/2289921#M63258</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2016-06-21T14:49:44Z</dc:date>
    </item>
  </channel>
</rss>

