<?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 deal with null value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337446#M105784</link>
    <description>Hi all&lt;BR /&gt;     In the original table in sql server,column flag was 'NULL', when i extract data from this table via talend ,and write it into delimited file , it values '',blank. How can i keep the column flag the same as 'NULL'? Except using tReplace.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards!&lt;BR /&gt;Joe</description>
    <pubDate>Sat, 16 Nov 2024 12:48:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:48:21Z</dc:date>
    <item>
      <title>deal with null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337446#M105784</link>
      <description>Hi all&lt;BR /&gt;     In the original table in sql server,column flag was 'NULL', when i extract data from this table via talend ,and write it into delimited file , it values '',blank. How can i keep the column flag the same as 'NULL'? Except using tReplace.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards!&lt;BR /&gt;Joe</description>
      <pubDate>Sat, 16 Nov 2024 12:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337446#M105784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: deal with null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337447#M105785</link>
      <description>Hi Joe
&lt;BR /&gt;Can you please test it is null or empty on column flag as 'NULL' after you read from table? For example:
&lt;BR /&gt;tMssqlInput--main--tJavaRow
&lt;BR /&gt;on tJavaRow:
&lt;BR /&gt;if(Input_row.columnName==null){
&lt;BR /&gt;System.out.println("it is null");
&lt;BR /&gt;}
&lt;BR /&gt;or 
&lt;BR /&gt;
&lt;BR /&gt;if(Input_row.columnName.equals(""){
&lt;BR /&gt;System.out.println("it is empty");
&lt;BR /&gt;}
&lt;BR /&gt;Let me know your test result!
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 15 Jul 2011 10:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337447#M105785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-15T10:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: deal with null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337448#M105786</link>
      <description>Hi Shong 
&lt;BR /&gt; Yes, I have tested that already. If I write the data into delimited file first,and then write it to database,it is still empty. If I write it into table directly from one database to another,it is ok,with the ?NULL? Value. But,the table has mass data,and if i process it without delimited file ,it may lead to outofmemory exception and low efficency. 
&lt;BR /&gt;Joe</description>
      <pubDate>Fri, 15 Jul 2011 10:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337448#M105786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-15T10:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: deal with null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337449#M105787</link>
      <description>Hi 
&lt;BR /&gt;Don't know why you use a demited file, but you can convert empty to null on tMap after read it from demilted file, eg:
&lt;BR /&gt;row1.columnName.equals("")?null:row1.columnName
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 15 Jul 2011 12:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337449#M105787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-15T12:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: deal with null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337450#M105788</link>
      <description>There isn't a null value for files, just empty. If you want to include the value null you will have to do it in your tMap.</description>
      <pubDate>Fri, 15 Jul 2011 14:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337450#M105788</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2011-07-15T14:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: deal with null value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337451#M105789</link>
      <description>Thank you shong and janhess 
&lt;BR /&gt;another problem,If the project that i shall do contains a lot of data(more than10,000,000 rows),how can i avoid the outofmemory exception? now we take the way of storing the data into files first ,and then reading data from file on disk . It seems to work fine,except a little slow. Is there any other better ways? 
&lt;BR /&gt;there will be several jobs running parallelly,so we must take care of the memory. 
&lt;BR /&gt; 
&lt;BR /&gt;joe</description>
      <pubDate>Fri, 15 Jul 2011 14:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/deal-with-null-value/m-p/2337451#M105789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-15T14:58:38Z</dc:date>
    </item>
  </channel>
</rss>

