'null' is how cqlsh displays empty cells:
https://github.com/apache/cassandra/blob/trunk/pylib/cqlshlib/formatting.py#L47-L58

On Thu, Oct 23, 2014 at 9:36 AM, DuyHai Doan <doanduy...@gmail.com> wrote:

> Hello Jens
>
> What do you mean by "cqlsh explicitely writes 'null' in those cells" ?
> Are you seing textual value "null" written in the cells ?
>
>
>  Null in CQL can have 2 meanings:
>
> 1. the column did not exist (or more precisely, has never been created)
> 2. the column did exist sometimes in the past (has been created) but then
> has been deleted (tombstones)
>
>
>
> On Thu, Oct 23, 2014 at 8:37 AM, Jens Rantil <jens.ran...@tink.se> wrote:
>
>>  Hi,
>>
>> Not sure this is a Datastax specific question to be asked elsewhere. In
>> that case, let me know.
>>
>> Anyway, I have populated a Cassandra table from DSE Hive. When I fire up
>> cqlsh and execute a SELECT against the table I have columns of INT type
>> that are empty. At first I thought these were null, but it turns out that
>> cqlsh explicitly writes "null" in those cells. What can I make of this? A
>> bug in Hive serialization to Cassandra?
>>
>> Cheers,
>> Jens
>>
>> —
>> Sent from Mailbox <https://www.dropbox.com/mailbox>
>>
>
>

Reply via email to