W dniu 27.02.2013 10:57, Marco Matarazzo pisze:> You may also be interested in this:
>
> https://issues.apache.org/jira/browse/CASSANDRA-3783

CASSANDRA-3783 might not be the case here. The question is about using null in SELECT statements, which will require modifications in secondary indexes code, which is unlikely to be done now/soon (see Sylvain's comments in CASSANDRA-3783 and CASSANDRA-5081) and probably will be left to a follow-up ticket, while CASSANDRA-3783 will focus on INSERT/UPDATE statements (which would be very usefull together with prepared statements [CASSANDRA-5081]).

M.



Also, I *guess* that a deleted column takes some (very small?) space with its 
tombstone, until it's removed. But I leave the details to someone else, as I'm 
definitely not an expert.


Il giorno 27/feb/2013, alle ore 10:35, Alain RODRIGUEZ <arodr...@gmail.com> ha 
scritto:

Cassandra (C*) has no NULL values. C* is column schemaless, meaning you can 
have different columns on each row of the same ColumnFamily (CF).

So if you want to check if a certain column is NULL for a row, you just check 
if it exist. By the way, you can store a column with a name and no value (empty 
value). This empty value doesn't take any disk space AFAIK.

About the TTL, their point is precisely to keep them for a predefined time. C* 
delete them on without any action needed by a client, it's an internal work.

Alain


2013/2/27 Sloot, Hans-Peter <hans-peter.sl...@atos.net>
Hi,


How does Cassandra handle NULL values?

I want to know how I can see rows where a certain column has no values.


For example if I set the TTL for columns is it possible to select rows where 
the ttl has expired for deletion.


Regards Hans-Peter






Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel bestemd 
voor de geadresseerde. Indien dit bericht niet voor u is bestemd, verzoeken wij 
u dit onmiddellijk aan ons te melden en het bericht te vernietigen. Aangezien 
de integriteit van het bericht niet veilig gesteld is middels verzending via 
internet, kan Atos Nederland B.V. niet aansprakelijk worden gehouden voor de 
inhoud daarvan. Hoewel wij ons inspannen een virusvrij netwerk te hanteren, 
geven wij geen enkele garantie dat dit bericht virusvrij is, noch aanvaarden 
wij enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus in dit 
bericht. Op al onze rechtsverhoudingen, aanbiedingen en overeenkomsten 
waaronder Atos Nederland B.V. goederen en/of diensten levert zijn met 
uitsluiting van alle andere voorwaarden de Leveringsvoorwaarden van Atos 
Nederland B.V. van toepassing. Deze worden u op aanvraag direct kosteloos 
toegezonden.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Atos Nederland B.V. group liability cannot be 
triggered for the message content. Although the sender endeavours to maintain a 
computer virus-free network, the sender does not warrant that this transmission 
is virus-free and will not be liable for any damages resulting from any virus 
transmitted. On all offers and agreements under which Atos Nederland B.V. 
supplies goods and/or services of whatever nature, the Terms of Delivery from 
Atos Nederland B.V. exclusively apply. The Terms of Delivery shall be promptly 
submitted to you on your request.

Atos Nederland B.V. / Utrecht
KvK Utrecht 30132762


--
Marco Matarazzo
== Hex Keep ==

W: http://www.hexkeep.com
M: +39 347 8798528
E: marco.matara...@hexkeep.com

"You can learn more about a man
   in one hour of play
   than in one year of conversation.” - Plato




Reply via email to