CQL: Unable to Null Check in “Where” Clause

前端 未结 1 1744
面向向阳花
面向向阳花 2020-12-18 05:10

Try to return all rows where a specific field is null or not null.

select * from ADDRESS where addr1 = null;  

or

selec         


        
相关标签:
1条回答
  • 2020-12-18 05:45

    CQL doesn't have the concept of NULL (yet- see CASSANDRA-3783). The right thing to do instead depends on your particular situation.

    0 讨论(0)
提交回复
热议问题