cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: Empty cqlsh cells vs. null
Date Fri, 24 Oct 2014 16:23:24 GMT
On Fri, Oct 24, 2014 at 6:38 AM, Jens Rantil <jens.rantil@tink.se> wrote:

>
> Just to clarify, I am seeing three types of output for an int field. It’s
> either:
>  * Empty output. Nothing. Nil. Also ‘’.
>  * An integer written in green. Regexp: [0-9]+
>  * Explicitly ‘null’ written in red letters.
>

Some types (including ints) accept an empty string/ByteBuffer as a valid
value.  This is distinct from null, or no cell being present.  This
behavior is primarily a legacy from the Thrift days.

-- 
Tyler Hobbs
DataStax <http://datastax.com/>

Mime
View raw message