<?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: treplace, replace null value with &amp;quot;bla&amp;quot;, how in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215600#M11953</link>
    <description>Hi ddctf, 
&lt;BR /&gt;This thread is very old. You'd better open a new topic for your issue.
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Exception in component tMap_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;Here is my expression:&lt;BR /&gt;(row1.notes.equals("")) ? "No Notes" : row1.notes&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;In addition that, please paste your tMap editor screenshot into the new forum.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
    <pubDate>Mon, 25 Nov 2013 08:20:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-25T08:20:19Z</dc:date>
    <item>
      <title>treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215593#M11946</link>
      <description>Hey, first off thanks for offering such a great forum, from what I have seen it looks like an ideal place for problems to be solved! I've working with Talend for a few weeks now and have run into several operations I'd like to create, but just cannot seem to make work. Currently I'm trying to have talend replace empty rows in a certain column of a csv file. 
&lt;BR /&gt;I simply want rows with blank address fields to be given a default address value of "no address". I've tried tReplace and expressions in tMap but cannot seem to get it going. 
&lt;BR /&gt;in tmap, i tried to put the "replace blank rows with *this*" by putting in: 
&lt;BR /&gt;row3.ADDRESS1.replaceAll("","No Address") 
&lt;BR /&gt;but that just inserts "No Address" after every single character ad nauseam. So i tried: 
&lt;BR /&gt;row3.ADDRESS1.replaceAll('',"No Address") 
&lt;BR /&gt;double single quotes instead of double double quotes... "Invalid Character Constant" error upon run. 
&lt;BR /&gt;Either my syntax is wrong in telling it to "replace empty values in x column with *this*" or im putting it in the wrong place? suggestions? 
&lt;BR /&gt; 
&lt;A href="http://img393.imageshack.us/my.php?image=33269865xf6.jpg" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;IMG src="https://community.qlik.com/" /&gt;&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://img513.imageshack.us/my.php?image=13487458ib6.jpg" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;IMG src="https://community.qlik.com/" /&gt;&lt;/A&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215593#M11946</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215594#M11947</link>
      <description>forgot to say above, i tried passing the data through a tReplace both before and after the tMap. tried both basic &amp;amp; advanced mode, but again couldn't figure out how to make it look for empty entries.</description>
      <pubDate>Sun, 04 Jan 2009 01:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215594#M11947</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-01-04T01:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215595#M11948</link>
      <description>Hi Corey,
&lt;BR /&gt;How about :
&lt;BR /&gt;row3.ADDRESS1.equals(''") ? "No Address" : row3.ADDRESS1
&lt;BR /&gt;Cheers,
&lt;BR /&gt;c0utta</description>
      <pubDate>Sun, 04 Jan 2009 11:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215595#M11948</guid>
      <dc:creator>c0utta</dc:creator>
      <dc:date>2009-01-04T11:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215596#M11949</link>
      <description>thanks for the speedy reply, i just tried that, it gives me "invalid character constant". (i ran it successfully without, put that in, got the error) that looks like its more along the lines of what is needed though.. got any suggestions for modifying that?</description>
      <pubDate>Sun, 04 Jan 2009 12:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215596#M11949</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-01-04T12:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215597#M11950</link>
      <description>Hi Corey,
&lt;BR /&gt;Doh! The first double quote (") was replaced by two single quotes (''). Try this instead:
&lt;BR /&gt;row3.ADDRESS1.equals("") ? "No Address" : row3.ADDRESS1
&lt;BR /&gt;Cheers,
&lt;BR /&gt;c0utta</description>
      <pubDate>Sun, 04 Jan 2009 22:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215597#M11950</guid>
      <dc:creator>c0utta</dc:creator>
      <dc:date>2009-01-04T22:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215598#M11951</link>
      <description>Brilliant! works perfect, can't thank you enough!</description>
      <pubDate>Sun, 04 Jan 2009 23:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215598#M11951</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-01-04T23:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215599#M11952</link>
      <description>Hi, not sure if this thread is still going, but I get an error when I try to add this:
&lt;BR /&gt;Exception in component tMap_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt;Here is my expression:
&lt;BR /&gt;(row1.notes.equals("")) ? "No Notes" : row1.notes</description>
      <pubDate>Fri, 22 Nov 2013 22:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215599#M11952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-22T22:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215600#M11953</link>
      <description>Hi ddctf, 
&lt;BR /&gt;This thread is very old. You'd better open a new topic for your issue.
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Exception in component tMap_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;Here is my expression:&lt;BR /&gt;(row1.notes.equals("")) ? "No Notes" : row1.notes&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;In addition that, please paste your tMap editor screenshot into the new forum.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 25 Nov 2013 08:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215600#M11953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-25T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215601#M11954</link>
      <description>hi,&lt;BR /&gt;the reason it's that you've got some null value for row1.notes ...&lt;BR /&gt;use the form &lt;BR /&gt;&lt;PRE&gt;"".equals(row1.notes)&lt;/PRE&gt;&lt;BR /&gt;to pass null value or manage them (a better solution)&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Mon, 25 Nov 2013 08:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215601#M11954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-25T08:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215602#M11955</link>
      <description>"".equals(row1.ID1) ? row2.ID1 : row1.ID1 
&lt;BR /&gt; 
&lt;BR /&gt;worked for me, compared to the syntax mentioned before. 
&lt;BR /&gt;Thanks kzone 
&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;</description>
      <pubDate>Thu, 19 Dec 2013 09:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215602#M11955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-19T09:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215603#M11956</link>
      <description>hi&amp;nbsp;&lt;BR /&gt;I Have a Excel Sheet That Includes Following:&lt;BR /&gt;First Name &amp;nbsp;| Last Name | Dept &amp;nbsp; &amp;nbsp;|&lt;BR /&gt;________________________________&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| Marker &amp;nbsp; &amp;nbsp; &amp;nbsp;| IT &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;John &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Steve &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |HR &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;BR /&gt;I Want the first name Where there is a blank, Replaced by DNK.is there is any way that we make changes in tMap?Please Help Me with this.</description>
      <pubDate>Mon, 16 Feb 2015 10:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215603#M11956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-16T10:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: treplace, replace null value with "bla", how</title>
      <link>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215604#M11957</link>
      <description>Hi &amp;nbsp;i want log error file&amp;nbsp; 
&lt;BR /&gt;suppose while insert/update a record, some records are failed to insert/update in want to log those failed records list into file 
&lt;BR /&gt;id name phone city 
&lt;BR /&gt;1 &amp;nbsp;shivi 888 kanpur &amp;nbsp;-- &amp;gt; sucessfully updated in db&amp;nbsp; 
&lt;BR /&gt;2 &amp;nbsp;Atul &amp;nbsp;999 bangor &amp;nbsp;--&amp;gt; failed to update in db&amp;nbsp; 
&lt;BR /&gt;3 &amp;nbsp;shiv &amp;nbsp;9973 &amp;nbsp;atlantic - &amp;gt; sucessfully updated in db&amp;nbsp; 
&lt;BR /&gt;i want in log file " 2 Atul 999 bangor" record&amp;nbsp; 
&lt;BR /&gt;i have done small demo of tlogcatcher but it does not log failed record 
&lt;BR /&gt;can any one tell me how to do it? 
&lt;BR /&gt;thanks 
&lt;BR /&gt;Shivi</description>
      <pubDate>Thu, 06 Oct 2016 05:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/treplace-replace-null-value-with-quot-bla-quot-how/m-p/2215604#M11957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-06T05:29:45Z</dc:date>
    </item>
  </channel>
</rss>

