<?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: Relational.ISNULL() fails in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197215#M1046</link>
    <description>Hi,
&lt;BR /&gt;Ideally expression 
&lt;B&gt;row1.DATEFILED == null ? TalendDate.getCurrentDate() : DATEFILED &lt;/B&gt; should work, however at my end it is not able to parse any provided date in any format using tFixedFlowInput/tFileInputDelimited component, try same with your job, but if it does not work you can make use of the below mentioned expression
&lt;BR /&gt;
&lt;B&gt;row1.DATEFILEDisEmpty() || row1.DATEFILED.toString() == null ? TalendDate.getCurrentDate().toString() : DATEFILED &lt;/B&gt;
&lt;BR /&gt;Later returned string can be parsed to retrieve Date, using tExtractRegexFields or tConvertType.
&lt;BR /&gt;--
&lt;BR /&gt;Regards,
&lt;BR /&gt;Vinod</description>
    <pubDate>Fri, 31 Aug 2012 13:34:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-08-31T13:34:00Z</dc:date>
    <item>
      <title>Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197212#M1043</link>
      <description>Hey, 
&lt;BR /&gt;i want to check the content of Field in a tmap, used as a counter... 
&lt;BR /&gt;If the return of the row is null (=does not exist), i want to set the value 0 for the new row (=INSERT of ROW). 
&lt;BR /&gt;If the the return of the row has a content (&amp;gt;=0), I want to increase the value with 1 (=TIMES of UPDATE) 
&lt;BR /&gt;Field definition: BigDecimal(22,0) 
&lt;BR /&gt;the formula should look like this: 
&lt;BR /&gt;Relational.ISNULL(row6.COUNTING)?0:row6.COUNTING+1 
&lt;BR /&gt;But i get an error in the Test-tool of the Expression Builder, regardless of the used Test-value: 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
&lt;BR /&gt; 
&lt;BR /&gt;The same with a Date: 
&lt;BR /&gt;Like: IF the DATEFIELD IS NULL then gimme sysdate else use DATEFILED 
&lt;BR /&gt;Relational.ISNULL(row6.DATEFIELD)?TalendDate.getCurrentDate():row6.DATEFILED 
&lt;BR /&gt; 
&lt;BR /&gt;What is wrong with the two statements? Please help (I am new in Java, only DB-Developer)...</description>
      <pubDate>Fri, 31 Aug 2012 11:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197212#M1043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-31T11:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197213#M1044</link>
      <description>It is probably a problem with the test tool. I've found it happens a lot. Try running the job or click the code tab to see if there are any errors.</description>
      <pubDate>Fri, 31 Aug 2012 11:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197213#M1044</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-08-31T11:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197214#M1045</link>
      <description>Hi,
&lt;BR /&gt;You can use following expression to increment your count.
&lt;BR /&gt;
&lt;B&gt;row1.COUNTING == null || row1.COUNTING == 0 ? 0 : row1.COUNTING + 1&lt;/B&gt;
&lt;BR /&gt;Please provide us the date format sample, and the information that whether the date is contained in "String" or "Date" Field.
&lt;BR /&gt;--
&lt;BR /&gt;Regards,
&lt;BR /&gt;Vinod</description>
      <pubDate>Fri, 31 Aug 2012 12:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197214#M1045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-31T12:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197215#M1046</link>
      <description>Hi,
&lt;BR /&gt;Ideally expression 
&lt;B&gt;row1.DATEFILED == null ? TalendDate.getCurrentDate() : DATEFILED &lt;/B&gt; should work, however at my end it is not able to parse any provided date in any format using tFixedFlowInput/tFileInputDelimited component, try same with your job, but if it does not work you can make use of the below mentioned expression
&lt;BR /&gt;
&lt;B&gt;row1.DATEFILEDisEmpty() || row1.DATEFILED.toString() == null ? TalendDate.getCurrentDate().toString() : DATEFILED &lt;/B&gt;
&lt;BR /&gt;Later returned string can be parsed to retrieve Date, using tExtractRegexFields or tConvertType.
&lt;BR /&gt;--
&lt;BR /&gt;Regards,
&lt;BR /&gt;Vinod</description>
      <pubDate>Fri, 31 Aug 2012 13:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197215#M1046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-31T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197216#M1047</link>
      <description>Date format expression for string "
&lt;B&gt;Fri Aug 31 17:45:53 GMT+05:30 2012&lt;/B&gt;"
&lt;BR /&gt;--------------------------
&lt;BR /&gt;
&lt;B&gt;TalendDate.parseDate("MMM dd yyyy", Var.var1.substring(4,10).concat(Var.var1.substring(29, 34)))&lt;/B&gt;
&lt;BR /&gt;
&lt;BR /&gt;--
&lt;BR /&gt;Regards,
&lt;BR /&gt;Vinod</description>
      <pubDate>Fri, 31 Aug 2012 13:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197216#M1047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-31T13:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197217#M1048</link>
      <description>I'm using Talend 5.4.2 and I'm facing the same issue that 
&lt;B&gt;mpmarky &lt;/B&gt;had faced. I understand the alternative way that 
&lt;B&gt;vinod_talend&lt;/B&gt; has provided but I want to know how to use Relational.ISNULL() function for the task that 
&lt;B&gt;mpmarky &lt;/B&gt;tried to do. Is there anyone from the Talend product team that can help us with this ?</description>
      <pubDate>Tue, 30 Jun 2015 16:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197217#M1048</guid>
      <dc:creator>ksrikanthr</dc:creator>
      <dc:date>2015-06-30T16:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197218#M1049</link>
      <description>It's : "Relational.ISNULL(row1.myDate)?TalendDate.getCurrentDate():row1.myDate"&lt;BR /&gt;(If myDate is NULL then myDate = Today else myDate=myDate )&lt;BR /&gt;I just tested it, and it's working.</description>
      <pubDate>Tue, 30 Jun 2015 16:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197218#M1049</guid>
      <dc:creator>Jcs19</dc:creator>
      <dc:date>2015-06-30T16:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197219#M1050</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing same issue.&lt;STRONG&gt;&amp;nbsp;Relational.ISNULL() fails&lt;/STRONG&gt; for my job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below in tmap for mapping 1 column. Still in output its showing null as result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just need in output, if column value is null then it should be replaced with blank else column result should be printed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relational.ISNULL(row8.columnValue) ? "" : (row8.columnValue + ".")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 08:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197219#M1050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-27T08:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197220#M1051</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQaRAAW"&gt;@shubhi04&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please double check whether the input value is null or empty string in your case?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Relational.ISNULL(row8.columnValue) ? "null value" :row8.columnValue.equals("")? "empty string": row8.columnValue + "."&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please try below code to verify your input data and let us know your results.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 15:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197220#M1051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-27T15:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Relational.ISNULL() fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197221#M1052</link>
      <description>Hi 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LMgpAAG"&gt;@Nikhil&lt;/A&gt;, 
&lt;BR /&gt; 
&lt;BR /&gt;Input values are null in my file. I am initially loading it from csv to staging table and then putting this logic through tmap. So I can see NULL in staging data. 
&lt;BR /&gt; 
&lt;BR /&gt;For now, my issue is resolved as I have putted default value as "" . Hence I am able to use your query and its working for me. 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Nov 2019 11:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Relational-ISNULL-fails/m-p/2197221#M1052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-28T11:43:53Z</dc:date>
    </item>
  </channel>
</rss>

