Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

null handling

please look at the file i attached where i wan to eliminate nulls in date fields

3 Replies
avinashelite

try like this

if(len(trim(date))>0,Date)  as Date

if you want to eliminate the data where date is null then have a where condition like

LOAD *

from table

where len(trim(date))>0;

brijeshvma
Partner - Creator
Partner - Creator

Hi You can try With multiple way .. depend on your data like

if(IsNull(Date),'Null',Date) as Date  OR

if(len(trim(date))>0,Date)  as Date

muthukumar77
Partner - Creator III
Partner - Creator III

Hi,

Load *

from table

where len(trim(Date))<>0;

Muthukumar Pandiyan