<?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 How to replace and filter blank cells from a column in a csv file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356625#M122102</link>
    <description>Hi! 
&lt;BR /&gt;I have a csv file from that has a string column. At some places it is blank, so how can i replace these blank columns with the value "NULL" ? I tried StringHandling.EReplace (row20.Name, " ", "NULL") But it doesnt take blank for " ". 
&lt;BR /&gt;I am also trying to filter these NULL columns by putting expression filter row20.Name!="NULL" in tMap. But it doesnt seem to work. 
&lt;BR /&gt;How can I do this? 
&lt;BR /&gt;Thanks!</description>
    <pubDate>Sat, 16 Nov 2024 13:52:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:52:31Z</dc:date>
    <item>
      <title>How to replace and filter blank cells from a column in a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356625#M122102</link>
      <description>Hi! 
&lt;BR /&gt;I have a csv file from that has a string column. At some places it is blank, so how can i replace these blank columns with the value "NULL" ? I tried StringHandling.EReplace (row20.Name, " ", "NULL") But it doesnt take blank for " ". 
&lt;BR /&gt;I am also trying to filter these NULL columns by putting expression filter row20.Name!="NULL" in tMap. But it doesnt seem to work. 
&lt;BR /&gt;How can I do this? 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Sat, 16 Nov 2024 13:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356625#M122102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace and filter blank cells from a column in a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356626#M122103</link>
      <description>Hi,
&lt;BR /&gt;if you want to check for NULL value you have to write row20.Name != null , without "". If you write row20.Name != "null" you are looking for the actual word null. (well assuming you use java, row20.Name != "null" wouldn't even work, you'd have to use row20.Name.matches("word") instead)
&lt;BR /&gt;You also have the option to trim your CSV file (advanced settings, tfileinputdelimited) which removes the blanks.
&lt;BR /&gt;
&lt;BR /&gt;I hope that helps!
&lt;BR /&gt;Greets</description>
      <pubDate>Tue, 14 Jul 2009 10:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356626#M122103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-14T10:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace and filter blank cells from a column in a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356627#M122104</link>
      <description>hi,&lt;BR /&gt;try &lt;BR /&gt;&lt;PRE&gt;row20.Name == null || row20.Name.length()==0 ? "null":row20.Name&lt;/PRE&gt;&lt;BR /&gt;hope it'll help you&lt;BR /&gt;++</description>
      <pubDate>Wed, 15 Jul 2009 10:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356627#M122104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-15T10:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace and filter blank cells from a column in a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356628#M122105</link>
      <description>It works.. Thanks!!</description>
      <pubDate>Wed, 15 Jul 2009 13:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356628#M122105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-15T13:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace and filter blank cells from a column in a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356629#M122106</link>
      <description>Hi,&lt;BR /&gt;I want to know how to convert the blank data into null?&lt;BR /&gt;I am loading data from a file into MySql through some validations.&lt;BR /&gt;I'm using tMySqlOutput component.&lt;BR /&gt;For some columns, they don't have any data, so, it is just "" for such columns.&lt;BR /&gt;and when it was written into MySql, this data went into as blank and not as null.&lt;BR /&gt;Is there any way to convert to null values???&lt;BR /&gt;Thanks...</description>
      <pubDate>Fri, 26 Aug 2011 09:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356629#M122106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-26T09:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace and filter blank cells from a column in a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356630#M122107</link>
      <description>In tFileInputDelimited just set the Default value for the column in the schema to null (not "null").  Wherever it then doesn't find a value it will be replaced with a null.</description>
      <pubDate>Sat, 27 Aug 2011 09:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356630#M122107</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-08-27T09:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace and filter blank cells from a column in a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356631#M122108</link>
      <description>Hi, Alevy, &lt;BR /&gt;Thanks for the information,&lt;BR /&gt;but I've tried to put null for the default values, but &lt;BR /&gt;the value doesn't change. &lt;BR /&gt;it is still left as a blank.</description>
      <pubDate>Mon, 29 Aug 2011 04:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356631#M122108</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-29T04:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace and filter blank cells from a column in a csv file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356632#M122109</link>
      <description>It works fine for me...</description>
      <pubDate>Mon, 29 Aug 2011 04:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-and-filter-blank-cells-from-a-column-in-a-csv/m-p/2356632#M122109</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-08-29T04:30:29Z</dc:date>
    </item>
  </channel>
</rss>

