Hi,
Have you tried using IS NOT NULL for the where condition?
Thanks,
Deng
On Mon, Jan 25, 2016 at 7:00 PM, Eli Super wrote:
> Hi
>
> I try to select all values but not NULL values from column contains NULL
> values
>
> with
>
> sqlContext.sql("select my_column from my_table where my_column <>
Hi
I try to select all values but not NULL values from column contains NULL
values
with
sqlContext.sql("select my_column from my_table where my_column <> null
").show(15)
or
sqlContext.sql("select my_column from my_table where my_column != null
").show(15)
I get empty result
Thanks !