You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "Sloot, Hans-Peter" <ha...@atos.net> on 2013/02/27 09:33:34 UTC

NULL values

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

Re: NULL values

Posted by Michal Michalski <mi...@opera.com>.
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 <ar...@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 <ha...@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.matarazzo@hexkeep.com
>
> "You can learn more about a man
>    in one hour of play
>    than in one year of conversation.” - Plato
>
>
>


Re: NULL values

Posted by Marco Matarazzo <ma...@hexkeep.com>.
You may also be interested in this: 

https://issues.apache.org/jira/browse/CASSANDRA-3783


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 <ar...@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 <ha...@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.matarazzo@hexkeep.com

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





RE: NULL values

Posted by "Sloot, Hans-Peter" <ha...@atos.net>.
Ok so eventually the row which has only the initial key will disappear?



-----Original Message-----
From: Tristan Seligmann [mailto:mithrandi@mithrandi.net]
Sent: woensdag 27 februari 2013 11:02
To: user@cassandra.apache.org
Subject: Re: NULL values


Cassandra only stores keys, not columns; once all of the columns in a row have been deleted, there is nothing left to delete, although the row may still appear in some queries (with no columns) until the tombstones for those columns have been removed (which occurs during compaction once gc_grace_seconds has passed).

On Wed, Feb 27, 2013 at 11:59 AM, Sloot, Hans-Peter <ha...@atos.net> wrote:
> But how do you check whether it exists?
>
> Can I select rows from a columnfamily which do not have a column set?
>
>
>
> What if I have set a ttl on all columns. After the expiration
> everything will be removed except the key.
>
> How can I determine the keys that have no additional columns and
> delete them?
>
>
>
>
>
> From: Alain RODRIGUEZ [mailto:arodrime@gmail.com]
> Sent: woensdag 27 februari 2013 10:35
> To: user@cassandra.apache.org
> Subject: Re: NULL values
>
>
>
> 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 <ha...@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
>
>
>
>
>
>
>
>
> 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



--
mithrandi, i Ainil en-Balandor, a faer Ambar





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

Re: NULL values

Posted by Tristan Seligmann <mi...@mithrandi.net>.
Cassandra only stores keys, not columns; once all of the columns in a
row have been deleted, there is nothing left to delete, although the
row may still appear in some queries (with no columns) until the
tombstones for those columns have been removed (which occurs during
compaction once gc_grace_seconds has passed).

On Wed, Feb 27, 2013 at 11:59 AM, Sloot, Hans-Peter
<ha...@atos.net> wrote:
> But how do you check whether it exists?
>
> Can I select rows from a columnfamily which do not have a column set?
>
>
>
> What if I have set a ttl on all columns. After the expiration everything
> will be removed except the key.
>
> How can I determine the keys that have no additional columns and delete
> them?
>
>
>
>
>
> From: Alain RODRIGUEZ [mailto:arodrime@gmail.com]
> Sent: woensdag 27 februari 2013 10:35
> To: user@cassandra.apache.org
> Subject: Re: NULL values
>
>
>
> 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 <ha...@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
>
>
>
>
>
>
>
>
> 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



--
mithrandi, i Ainil en-Balandor, a faer Ambar

RE: NULL values

Posted by "Sloot, Hans-Peter" <ha...@atos.net>.
But how do you check whether it exists?
Can I select rows from a columnfamily which do not have a column set?

What if I have set a ttl on all columns. After the expiration everything will be removed except the key.
How can I determine the keys that have no additional columns and delete them?


From: Alain RODRIGUEZ [mailto:arodrime@gmail.com]
Sent: woensdag 27 februari 2013 10:35
To: user@cassandra.apache.org
Subject: Re: NULL values

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 <ha...@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






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

Re: NULL values

Posted by Alain RODRIGUEZ <ar...@gmail.com>.
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 <ha...@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
>